Giter VIP home page Giter VIP logo

Comments (7)

thbeh avatar thbeh commented on July 25, 2024

Got the above sorted out. Using alien -i dremio-odbc-1.4.2.1003-1.x86_64.rpm instead of dremio-odbc-LATEST.x86_64.rpm works.

BTW, using dremio data sources in SQL Lab always returns error -

Shape_ of passed values is (100, 1), indices imply (100, 34). Any advice?

from sqlalchemy_dremio.

narendrans avatar narendrans commented on July 25, 2024

@thbeh Can you post the full trace? I haven't see that one. What version of superset are you using? The one that's stable is 0.36

from sqlalchemy_dremio.

thbeh avatar thbeh commented on July 25, 2024

Currently I am running 0.35.2.

from sqlalchemy_dremio.

thbeh avatar thbeh commented on July 25, 2024

Just upgraded to 0.36, same issue in SQL Lab.

Nothing much from the logs, only saw the below but job in dremio ran successfully. Any other logs to look at?

_2020-06-19 21:47:59,912:INFO:root:Query 7: Handling cursor
2020-06-19 21:47:59,913:DEBUG:root:[stats_logger] (timing) sqllab.query.time_executing_query | 579.898681640625
2020-06-19 21:47:59,925:DEBUG:root:Query 7: Fetching data for query object: {'changedOn': datetime.datetime(2020, 6, 19, 21, 47, 59, 329624), 'changed_on': '2020-06-19T21:47:59.329624', 'dbId': 2, 'db': 'dremio', 'endDttm': None, 'errorMessage': None, 'executedSql': 'SELECT i_category,\n d_year,\n d_moy,\n avg_monthly_sales,\n sum_sales,\n psum,\n nsum\nFROM consumption.query_57_curated\nLIMIT 100', 'id': 'u5RSHMzY', 'limit': 100, 'progress': 0, 'rows': None, 'schema': None, 'ctas': False, 'serverId': 7, 'sql': 'SELECT i_category,\n d_year,\n d_moy,\n avg_monthly_sales,\n sum_sales,\n psum,\n nsum\nFROM consumption.query_57_curated\nLIMIT 100', 'sqlEditorId': None, 'startDttm': Decimal('1592603278867.325000'), 'state': 'running', 'tab': '', 'tempTable': None, 'userId': 1, 'user': 'TH Beh', 'resultsKey': None, 'trackingUrl': None, 'extra': {'progress': 'Running statement 1 out of 1'}}
2020-06-19 21:47:59,930:DEBUG:root:[stats_logger] (timing) sqllab.query.time_fetching_results | 17.551025390625
2020-06-19 21:47:59,931:DEBUG:root:Query 7: Fetching cursor description

from sqlalchemy_dremio.

narendrans avatar narendrans commented on July 25, 2024

@thbeh Does the same query run in Dremio UI? Was the query submitted to Dremio at all? (You can check the jobs page)

from sqlalchemy_dremio.

thbeh avatar thbeh commented on July 25, 2024

Saw the job ran without issue in Dremio UI. The error only occurs in SQL Lab.

from sqlalchemy_dremio.

thbeh avatar thbeh commented on July 25, 2024

I refactor my Docker to use Postgres for backend and seems working now. Earlier I was using MySQL, not sure whether that could be the cause. Thanks

from sqlalchemy_dremio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.