Support Questions
Find answers, ask questions, and share your expertise

Getting error for making jaydebeapi connection to impala

New Contributor

Problematic frame:
# C [KERNELBASE.dll+0x34ed9]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

 

above error I am getting, when I am trying to run below code.Please suggest me

 

import jaydebeapi
import glob
# connection parameters
jars=glob.glob('resources/ImpalaJDBC/*.jar')
jclassname='com.cloudera.impala.jdbc41.Driver'

url1='*'
g_hive_connection=jaydebeapi.connect(jclassname,url1,{'UID'"*"'PWD': *},jars#g_hive_connection connect object
cursor = g_hive_connection.cursor()

# Execute SQL query
sql="select wifi_aphourlydata_hist.lineid as serialNumber from asl_assia_cloud_check.wifi_aphourlydata_hist WHERE wifi_aphourlydata_hist.day = '2020-07-22'"
cursor.execute(sql)
results = cursor.fetchall()
print (results)
0 REPLIES 0
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.