Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 01-25-2016 08:51 PM
I want to port the following SQL statement to Hive from Sybase. What is the best approach to get the below to work in Hive? Hive DML UPDATE syntax doesn't mention support for JOINs or nested SELECT statements.
UPDATE table1
SET table1.column1 = table2.column1,
table1.column10 = table2.column10
FROM table1, table2
WHERE table1.columnID = table2.columnID
After enabling transactional=true on table1 the above produces an error:
Error while compiling statement: FAILED: ParseException ... missing EOF at 'FROM' ...
Created 01-25-2016 09:02 PM
This not supported and there is no efficient way to do this. This will be handled once support for MERGE statement is added
Created 01-25-2016 09:02 PM
This not supported and there is no efficient way to do this. This will be handled once support for MERGE statement is added
Created 03-06-2016 11:35 PM
Thanks. I'll watch this JIRA for progress: https://issues.apache.org/jira/browse/HIVE-10924