ilyakitaev opened a new issue #9216: Using oracle as DataSource URL: https://github.com/apache/incubator-superset/issues/9216 Hello, just as a solution and for future development. Quick fix 1. First you need to download oracle client with libraries and put them into superset image 2. install cx_Oracle and libaio1 inside container `apt update; apt install -y libaio1; pip install cx_Oracle` 3. For normal language support set env variable (in the superset_config.py for example) NLS_LANG=RUSSIAN_RUSSIA.AL32UTF8 # for Russian with UTF-8 4. Superset does not detect oracle and uses postgres specs for that datasource. So you need to comment this line to fix SQL Lab error superset/db_engine_specs/postgres.py +52 # cursor.tzinfo_factory = FixedOffsetTimezone hope it will be helpfull
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
