Comments (7)
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.
@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.
Currently I am running 0.35.2.
from sqlalchemy_dremio.
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.
@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.
Saw the job ran without issue in Dremio UI. The error only occurs in SQL Lab.
from sqlalchemy_dremio.
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)
- dremio+flight connection issue HOT 1
- Parametrized statements - Issue with quoted strings HOT 1
- Connection pool - The default implementation is not recommended for production use
- Upgrading Arrow Flight to latest for Dremio on ARM
- Flight support for Passwords with = in them HOT 1
- Extend _type_map with Array HOT 1
- NotImplementedError for dremio+flight dialect HOT 6
- Driver files unavailable HOT 7
- sqlalchemy_dremio arrow flight ssl certificates HOT 2
- pytest fails sqlalchemy.exc.StatementError: (builtins.KeyError) 'object' for test query HOT 1
- Problem installing version 2.0.0 with pip HOT 2
- SSL=0 still try to verify SSL cert HOT 3
- Token auth support in Flight for Dremio Cloud HOT 2
- Superset - NaTType does not support utcoffset HOT 3
- Superset Dremio Connectivity HOT 3
- AttributeError: 'DremioDialect_flight' object has no attribute 'driver' HOT 6
- dremio+flight connection issue HOT 4
- All queries sent from client query INFORMATION_SCHEMA."TABLES"
- SQL Alchemy driver returns nan for null values HOT 1
- AttributeError: 'DremioDialect_flight' object has no attribute 'driver' #37
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlalchemy_dremio.