Skip to content

oracledb sql error #35197

@erdemcer

Description

@erdemcer

Bug description

Hi,
I have installed superset 5 via docker compose . Installed cx_Oracle last version and Oracle instant_client . For Oracle database 11g sqllab gives folling error :

oracle error: ORA-00933: SQL command not properly ended

This error does not occur on db which is 19c. Problem is coming from following sql

SELECT
1 AS col1
FROM dual
FETCH FIRST 11 ROWS ONLY

"FETCH FIRST 11 ROWS ONLY" clause is not valid under version Oracle 12. Is there any workaround in order to execute sql on superset 5 on Oracle db 11g.

Thanks.

Screenshots/recordings

No response

Superset version

5.0.0

Python version

3.11

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions