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 |
---|---|---|---|---|
Edit | Post #292686 | Initial revision | — | about 2 months ago |
Question | — |
Question/Answer views on Codidact Where can I see the number of views for a specific question/answer? It motivates if i know more people are seeing the Question or Answer (more) |
— | about 2 months ago |
Edit | Post #292670 | Initial revision | — | about 2 months ago |
Answer | — |
A: Using sqlline, how do you filter/find tables using the !tables command From the source code it seems the following is possible. !tables !tables !tables () So for the examples quoted above, this is how it would be done 1. `!tables "s1" "%"` 2. `!tables "t0%"` 3. `!tables "%20" "x%"` 4. `!tables "s19" "%" "TABLE"` 5. `!tables "%" "%" "VIEW"... (more) |
— | about 2 months ago |
Edit | Post #292669 | Initial revision | — | about 2 months ago |
Question | — |
Using sqlline, how do you filter/find tables using the !tables command I need to filter/find and list tables using the sqlline `!tables` command. For example, these are the type of queries i wish to fire 1. Find out all the tables in a particular schema `s1` 2. All tables that start with t0 3. All tables whose schema name ends with 20 and whose table name start ... (more) |
— | about 2 months ago |
Edit | Post #287375 | Initial revision | — | about 2 years ago |
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) |
— | about 2 years ago |
Edit | Post #287374 |
Post edited: |
— | about 2 years ago |
Edit | Post #287374 | Initial revision | — | about 2 years 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) |
— | about 2 years ago |