User is trying to put data into HDFS from R. For this he is using RODBC connection. Connection is working fine. But when when user is trying to run sqlSave() it is throwing error. We have tried multiple workarounds (create the table in Hive/impala first, specifying the varTypes) but it did not succeed. Checked with table colulmns as well but no luck. For workaround we dropped the table and tried again with new created table but still issue is the same.
Error is
Error in odbcUpdate(channel, query, mydata, coldata[m, ], test = test, :
missing columns in 'data'
Version for R is R 3.2.2 Open Source.
Any help for this is highly appreciated.