mysql表 转 hive表 建表语句 Error while compiling statement: FAILED: ParseException in column name or prima
SELECT'CREATETABLEIFNOTEXISTS','你的hive表名字','(','',''UNIONALLSELECTCONCAT('`',column_name,'`')colname,CASEWHENNUMERIC_PRECISIONISNOTNULLAND(data_type='decimal'ORdata_type='numeric'ORdata_type='money')T