Maxime Beauchemin
2395fbbdaa
Adding end_result_backend_time to Query model ( #2766 )
...
This will help us keep track on how long it takes to push the data
into the results backend.
2017-05-16 20:34:38 -07:00
Maxime Beauchemin
a6e1e18244
[sql lab] fix CREATE TABLE AS ( #2719 )
2017-05-06 21:23:55 -07:00
Maxime Beauchemin
76042be7c3
[hotfix/sqllab] setting up the connection in the try: block
2017-04-17 17:32:21 -07:00
rumbin
c581ea8661
Alternative PR for: Some bytes/str issues in py3 w/ zlib and json ( #2558 )
...
* sql_lab.py: compress via utils
* utils.py: added zlib_compress and zlib_compress_to_string
* core.py: converted to use zlib_decompress_to_string; renamed uncompress to decompress in utils.py
* utils_tests.py: added test for compress/decompress
* fixed broken utils test; removed redundant code and empty lines from utils.py
* utils.py: corrected docstrings, removed unnecessary 'else'
* removed yet another superfluous else
2017-04-06 09:42:43 -07:00
Maxime Beauchemin
122891c29b
[sql lab] allow users to save their queries ( #2528 )
...
* Allow users to save their queries
Fixing tests .
* Adding placeholder for Query Description
* initJQueryCSRF -> initJQueryAjaxCSRF
2017-04-04 20:15:19 -07:00
Maxime Beauchemin
6b52384024
[hotfix] fix pending queries race condition
2017-03-30 19:54:55 +00:00
Maxime Beauchemin
91167665b1
Track both query start time and button push time to track delay ( #2502 )
...
* Track both query start time and button push time to track delay
* Fix
* Setting the proper precision
* More logging
2017-03-28 20:21:34 -07:00
Maxime Beauchemin
e2b572d9e2
Prevent alarming users with stacktrace when using sqlite
2017-03-19 18:55:11 -07:00
Bogdan
0674ed846c
Use list instead of numpy array ( #2412 )
2017-03-14 18:01:35 -07:00
Bogdan
6160a3fdff
Implement stop query functionality. ( #2387 )
...
* Implement stop query functionality.
* Address comments
2017-03-13 13:54:38 -07:00
Bogdan
0779da6d24
Keep column order in .csv ( #2377 )
2017-03-10 14:49:11 -08:00
Maxime Beauchemin
2969cc9993
Refactoring Druid & SQLa into a proper "Connector" interface ( #2362 )
...
* Formalizing the Connector interface
* Checkpoint
* Fixing views
* Fixing tests
* Adding migrtion
* Tests
* Final
* Addressing comments
2017-03-10 09:11:51 -08:00
Bogdan
9114d86ecd
Add hive to superset + monkey patch the pyhive ( #2134 )
...
* Initial hive implementation
* Fix select star query for hive.
* Exclude generated code.
* Address code coverage and linting.
* Exclude generated code from coveralls.
* Fix lint errors
* Move TCLIService to it's own repo.
* Address comments
* Implement special postgres case,
2017-03-06 16:20:55 -08:00
vera-liu
fc85034c60
Better error handling for presto ( #2161 )
...
* Better error handling for presto
* Move to db_engine_spec
2017-02-17 10:29:35 -08:00
Bogdan
b1bba96d04
Fix csv download. ( #2036 )
2017-01-25 18:06:29 -08:00
Maxime Beauchemin
9a62d94630
[sqllab] bugfix visualizing a query with a semi-colon ( #1869 )
...
* [sqllab] bugfix visualizing a query with a semi-colon
* Fixing tests
2017-01-06 12:24:07 -08:00
Maxime Beauchemin
16731056ed
[sqllab] async queries - better error handling ( #1853 )
2016-12-19 22:33:55 -08:00
vera-liu
e06a0cd89b
Add force_ctas_schema to query model when enabled ( #1825 )
...
* Add force_ctas_schema to query model when enabled
* Add schema to temp_table_name
* Remove extra arg in create_table_as
2016-12-15 13:19:54 -08:00
Maxime Beauchemin
324205f77a
[sqllab] bugfix where a query has the same alias twice as output ( #1734 )
2016-12-01 19:53:23 -08:00
Bogdan
25acb78071
Pass schema to the select star query. ( #1714 )
2016-11-30 19:33:43 -05:00
Bogdan
dc98c6739f
Implement table name extraction. ( #1598 )
...
* Implement table name extraction tests.
* Address comments.
* Fix tests and reimplement the token processing.
* Exclude aliases.
* Clean up print statements and code.
* Reverse select test.
* Fix failing test.
* Test JOINs
* refactore as a class
* Check for permissions in SQL Lab.
* Implement permissions check for the datasources in sql_lab
* Address comments.
2016-11-29 15:43:36 -05:00
Maxime Beauchemin
cef4a8296a
[sqllab] adding a sql preprocessor for Presto ( #1670 )
...
* [sqllab] adding a sql preprocessor for Presto
* fixing tests
2016-11-22 21:24:38 -08:00
Maxime Beauchemin
15b67b2c6c
[WiP] rename project from Caravel to Superset ( #1576 )
...
* Change in files
* Renamin files and folders
* cleaning up a single piece of lint
* Removing boat picture from docs
* add superset word mark
* Update rename note in docs
* Fixing images
* Pinning datatables
* Fixing issues with mapbox-gl
* Forgot to rename one file
* Linting
* v0.13.0
* adding pyyaml to dev-reqs
2016-11-09 23:08:22 -08:00