Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Abbas Gadhiaâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: How do you insert a struct into a hive table column using HiveRunner? Figured it out. It should be a List. The data type of the list should be object, but the individual objects in the list should be compatible with the data type of the fields of the struct. For ex. if the struct is struct Then the list should be like this ```java List struct = Arrays.asList(... (more) |
— | over 1 year ago |
Question | — |
How do you insert a struct into a hive table column using HiveRunner? If my struct column has the data type of struct then what should be the equivalent java object that should be inserted into that struct column? I'm trying the following code using HiveRunner ```java Object val = ? // what should be this object? shell .insertInto("sourcedb", tableName) .... (more) |
— | over 1 year ago |