Skip to main content
sniperhgy
Silver ⭐️⭐️
Jun 27, 2024 8:27 AM UTC
Question

How to specify column format when upload a table in SASgrid to Hive via ImpalaODBC?

For now, I can use ImpalaODBC to download data from Hive in SASgrid, but when I tried to upload data in SASgrid to Hive, it raised up a error messageimage.png

Does anybody has any idea about it? Thanks in advanced.

3 replies

VidyaSargur
Community Manager
Community Manager
Jun 27, 2024 9:05 AM UTC

@sniperhgy, Welcome to our community! To help you get the best possible answer, I have tagged in our HiVe/Impala experts  @ChethanYM @SVB who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.
sniperhgy
sniperhgyAuthor
Silver ⭐️⭐️
Jun 27, 2024 9:27 AM UTC

Thank you very much for the response. For now,  I'm trying to upload data from SASgrid to Hive, the SAS program is printted in the screenshot above, it seems the ImpalaODBC tried to cast the column patient_id to double type, but it need decimal(20, 0) type. Can we specify column type when we try to upload data in SASgrid?

Translate
sniperhgy
sniperhgyAuthor
Silver ⭐️⭐️
Jul 1, 2024 4:46 AM UTC

Hi @VidyaSargur ,  @ChethanYM @SVB, is there any update about this issue? Looking forward to your response, thank you.

Translate