Hi, I have a problem with the q3c_dist function, for some reason the jsqlparser throw a ParseException:
Error: IllegalArgumentException: net.sf.jsqlparser.JSQLParserException JSQLParserException: ParseException: Encountered "(" at line 1, column 98. Was expecting one of: <EOF> "ASC" ... "DESC" ... "LIMIT" ... "OFFSET" ... ";" ... "," ... "." ... "UNION" ...
Seems don't recognize that function because without these I dont have problems. The code for this :
ssql = '''SELECT * FROM decaps_dr1.object AS g WHERE q3c_join(10, 20, g.ra, g.dec, 0) ORDER BY q3c_dist(0, 0, 0, 0)'''
jobid = qc.query(sql=ssql, async_=True)
while qc.status(jobid) != 'COMPLETED':
print(qc.status(jobid))
print(qc.error(jobid))
time.sleep(2)
The version of the datalab package :
noaodatalab 2.20.0
Regards!