Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example.js fails with kyuubi #51

Closed
SimSt7 opened this issue Oct 22, 2022 · 1 comment · Fixed by #58
Closed

example.js fails with kyuubi #51

SimSt7 opened this issue Oct 22, 2022 · 1 comment · Fixed by #58

Comments

@SimSt7
Copy link

SimSt7 commented Oct 22, 2022

I am using a PlainTcpConnection to Apache Kyuubi 1.6.0 and try to run example.js. Table creation and insertion works, but table selection fails with below error log. Reproduced it with v.0.1.7 and pre-release 0.2.0.

TypeError: Cannot read properties of undefined (reading 'binaryVal')
at JsonResult.getColumnValue (/home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:123:22)
at JsonResult.getSchemaValues (/home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:56:32)
at /home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:42:26
at Array.reduce ()
at JsonResult.getRows (/home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:41:28)
at /home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:29:30
at Array.reduce ()
at JsonResult.getValue (/home/user/Desktop/hive-test/hive-driver/dist/result/JsonResult.js:27:26)
at /home/user/Desktop/hive-test/hive-driver/examples/example.js:45:57
at processTicksAndRejections (node:internal/process/task_queues:96:5) #

@lenchv
Copy link
Owner

lenchv commented Sep 25, 2023

Hi @SimSt7, I haven't reproduced it, but it might relate to these changes
3c674de

anyway, I made it bulletproof, if you have a chance please check and let me know whether it fixed your issue

lenchv added a commit that referenced this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants