Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

no select statement was executed

Highlighted

no select statement was executed

New Contributor

I am getting below error sometimes code execute the select statement. Didn't getting what is the reason for same. Can anyone help. Thanks in advance..

 

'no select statement was executed'

Traceback (most recent call last):

 

   result = cursor.fetchall()

  File "/usr/lib/python2.7/site-packages/phoenixdb/cursor.py", line 289, in fetchall

    row = self.fetchone()

  File "/usr/lib/python2.7/site-packages/phoenixdb/cursor.py", line 262, in fetchone

    raise ProgrammingError('no select statement was executed')

ProgrammingError: ('no select statement was executed', None, None, None)

Don't have an account?
Coming from Hortonworks? Activate your account here