arpa007 opened a new issue #4210: Error Fetching Data: Shape of passed values 
is (1, 100), indices imply (2, 100)
URL: https://github.com/apache/incubator-superset/issues/4210
 
 
   I am connecting to a SQL Server Table from Linux box. For the set of queries 
I have tried thus far, the meta information shows up just fine but queries 
always have this error: 
   
   I am using superset 0.22.1 and pandas 0.20.3 came bundled with the 
distribution. 
   ```
   2018-01-14 16:27:27,276:INFO:root:Fetching cursor description
   2018-01-14 16:27:27,572:ERROR:root:Shape of passed values is (1, 100), 
indices imply (2, 100)
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/superset/sql_lab.py", line 
94, in get_sql_results
       ctask, query_id, return_results, store_results, user_name)
     File "/usr/local/lib/python2.7/dist-packages/superset/sql_lab.py", line 
226, in execute_sql
       pd.DataFrame(list(data), columns=column_names))
     File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 
330, in __init__
       copy=copy)
     File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 
483, in _init_ndarray
       return create_block_manager_from_blocks([values], [columns, index])
     File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", 
line 4303, in create_block_manager_from_blocks
       construction_error(tot_items, blocks[0].shape[1:], axes, e)
     File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", 
line 4280, in construction_error
       passed, implied))
   ValueError: Shape of passed values is (1, 100), indices imply (2, 100)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to