I have problem executing SQL HANA query in Python. I established connection (in R I am able to connect to this HANA data table and it's working perfectly) but in Python I receive syntax error related to query -> I searched multiple sources how to deal with this query 'SELECT TOP 10 * FROM _SYS.TEMP_VALIDATION_09/TEMP_123' but I did not find answer. In R it looks like this ' SELECT TOP 10 * FROM "_SYS"."TEMP_VALIDATION_09/TEMP_123" '
from hdbcli import dbapi
#Initialize your connection
conn = dbapi.connect(address = '',
port = ,
user = '',
password = '')
print('connected')
cursor = conn.cursor()
query = 'SELECT TOP 10 * FROM _SYS.TEMP_VALIDATION_09/TEMP_123'
print(query)
result = cursor.execute(query)
for result in cursor:
print(result)
query = 'SELECT TOP 10 * FROM _SYS."TEMP_VALIDATION_09/TEMP_123"'