Alanna Scott
2ace73e9a1
[sql-lab] make datasource name in visualize flow more descriptive ( #2103 )
...
* make data source name more descriptive
* add user name to datasource name as well
2017-02-09 12:11:25 -08:00
Bogdan
898d80ba38
Viz the compiled query rather than user input. ( #2086 )
2017-01-31 19:56:59 -08:00
vera-liu
27aeac6859
Remove fetch results button for async queries ( #2084 )
2017-01-31 17:25:06 -08:00
vera-liu
3a5a927dc6
check if tempTable exists for ctas queries ( #2073 )
2017-01-30 17:08:52 -08:00
vera-liu
2d419e4253
Return alert instead of fetch button when async results has no data ( #2072 )
2017-01-30 11:03:37 -08:00
vera-liu
544211f5ec
Revert "Display no data alert when async result has zero rows" ( #2069 )
2017-01-27 15:31:28 -08:00
vera-liu
4a8cd04de6
Display no data when async result has zero rows ( #2055 )
2017-01-27 11:06:54 -08:00
vera-liu
85806624db
Use a key-value store model for sharing long queries ( #1951 )
...
* Add KeyValue model for storing id-value pairs
use it for storing shared queries
* Change string to text and added test
* Put getQueryLink in one place
* Changed migration down version
* Changes based on comments
* Update bcf3126872fc_add_keyvalue.py
2017-01-27 10:20:24 -08:00
vera-liu
a385ee9e97
Use POST in sqllab_viz instead of url params to avoid error with long queries ( #1933 )
...
* Use POST in sqllab_viz instead of url params to avoid error with long queries
* Delete error handling
* Fix returning statement
2017-01-11 11:58:16 -08:00
vera-liu
f0917c62f2
Add a Async Select that fetches options from given endpoint ( #1909 )
...
* Add a Async Select that fetches options from given endpoint
* update it statement
2017-01-11 10:31:30 -08:00
Alanna Scott
242869db3a
[sql lab] only show single run query button ( #1858 )
...
* only show single run query button, allow async if possible
* only pass the needed props, rather than entire objects to the component
* add simple test
* fix linting
2017-01-03 17:20:30 -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
vera-liu
e1e20b8757
Sort searched queries by recency ( #1735 )
...
* Sort searched queries by recency
* Fixed sqllab tests
* Add one more tr to QueryTable spec for pagination
* Change desc to asc as we reverse queries in component
2016-12-14 10:14:54 -08:00
vera-liu
699602d1c5
Add tooltips to RunAsync and CTAS button ( #1792 )
...
* Add tooltips to RunAsync and CTAS button
* Use button from components
* Phrasing
2016-12-12 10:13:01 -08:00
vera-liu
8ef730b5fe
Added timer to explore v2 and share it with sqllab ( #1802 )
...
* Added timer to explore v2 and share it with sqllab
* Fixed js tests
* Add timer to initial load
* Make timer smaller
* nits
2016-12-09 13:39:53 -08:00
vera-liu
866cfe5279
Add schema name to output column in query history ( #1790 )
...
* Add schema name to output column in query history
* Replace line break with dot between schema and table name
2016-12-09 11:03:31 -08:00
Maxime Beauchemin
aeda5bd260
[sqllab] config item for SQLLAB_DEFAULT_DBID ( #1793 )
2016-12-07 21:01:02 -08:00
vera-liu
74edb936a5
[WIP] Add http to copied url and move function to componentWillReceiveProps ( #1780 )
...
* Add http to copied url and move function to componentWillReceiveProps
* Added getText() to CopyToClipbaord to enable ajax calls for getting copy text
* Set ajax call to synchronous (document.execCommand only works in synchronous mode
2016-12-06 17:49:41 -08:00
vera-liu
eb0655cf85
[sqllab] Fixed js error when results are not available ( #1715 )
...
* Fixed js error when results are not available
* Flush data and query in results when running new query, keeping columns
* add exception for columns
* Move setState from componentWillMount to componentWillReceiveProps
* Nit
2016-12-05 13:36:18 -08:00
vera-liu
d8864bc92b
Enable overwrite sql in QueryHistory ( #1731 )
2016-12-05 11:34:42 -08:00
vera-liu
89fc9d7c80
Make entire menuitem clickable for copy query ( #1747 )
2016-12-05 10:02:23 -08:00
Maxime Beauchemin
c4e943a24f
[sqllab] making 'click to retrieve results' a button ( #1737 )
2016-12-03 20:09:09 -08:00
vera-liu
32fc0ff6d0
[Bugfix] autocomplete in sqleditor doesnot use newly loaded table columns ( #1712 )
2016-11-30 09:09:35 -08:00
Maxime Beauchemin
b7019ad4f3
[sqllab] bugfix SouthPane doesn't update as expected ( #1699 )
...
* [sqllab] bugfix SouthPane doesn't update as expected
* Linting
2016-11-28 16:24:02 -08:00
vera-liu
db1ed2a765
Calculate height dynamically using jquery for scrollable sqllab ( #1611 )
...
* Calculate height dynamically using jquery for scrollable sqllab components
* Move editorHeight to App.jsx
* Calculate height dynamically for query search
2016-11-22 13:21:07 -08:00
vera-liu
10982dec3c
Make QueryTable scrollable in Query Search page ( #1656 )
2016-11-22 11:19:23 -08:00
vera-liu
6825e75681
Fixed bug with querylink passing sql object instead of string ( #1659 )
2016-11-22 11:09:32 -08:00
vera-liu
bd6a439e0b
[QuerySearch] Add loading status to QuerySearch page ( #1657 )
...
* Add loading state to QuerySearch
* Move ajax call to ComponentDidMount
* Show loading image during ajax call
2016-11-21 13:18:18 -08:00
Maxime Beauchemin
bce02e3f51
[security] improving the security scheme ( #1587 )
...
* [security] improving the security scheme
* Addressing comments
* improving docs
* Creating security module to organize things
* Moving CLI to its own module
* perms
* Materializung perms
* progrss
* Addressing comments, linting
2016-11-17 11:58:33 -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