All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql-tests.testcases.insert.insert_const_special_char.sql Maven / Gradle / Ivy

There is a newer version: 0.290
Show newest version
-- database: presto; groups: insert; mutable_tables: datatype|created; tables: datatype
-- delimiter: |; ignoreOrder: true; 
--!
insert into ${mutableTables.hive.datatype} select 1, cast(2.1 as double), 'abc \n def', cast(null as date), cast(null as timestamp), cast(null as boolean), cast(null as decimal(5,2)), cast(null as decimal(30,10)) from datatype;
select * from ${mutableTables.hive.datatype}
--!
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|
1|2.1|abc \n def|null|null|null|null|null|




© 2015 - 2025 Weber Informatics LLC | Privacy Policy