hive-driver icon indicating copy to clipboard operation
hive-driver copied to clipboard

example.js fails with kyuubi

Open SimSt7 opened this issue 1 year ago • 0 comments

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) #

SimSt7 avatar Oct 22 '22 13:10 SimSt7