Hi, Bohdar,
thank you for your message. First of all - Toad for Hadoop does not "create" the script, we merely show the script returned by Hive. You can easily check it yourself by calling
SHOW CREATE TABLE parquet_table;
There is chance for us to update the shown script if it is necessary. Though I have tried your scenario and have not experienced the error you mentioned.
My test queries are:
CREATE TABLE parquet_test3
( id INT, str STRING
) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'; INSERT INTO TABLE parquet_test3 VALUES (1, 'test');
Kind regards,
Vladimir