John Bodley
1ea4521d0c
[flake8] Resolving E7?? errors ( #3816 )
2017-11-09 20:23:59 -08:00
John Bodley
ec21d5af21
[flake8] Resolving E2?? errors ( #3812 )
2017-11-08 20:34:23 -08:00
John Bodley
17623f71d4
[flake8] Resolving C??? errors ( #3787 )
2017-11-07 21:32:45 -08:00
John Bodley
e2bca47421
[flake8] Resolve I??? errors ( #3797 )
2017-11-07 20:23:40 -08:00
Alejandro Fernandez
b059506afa
DI-1113. ADDENDUM. Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez) ( #3697 )
2017-11-06 10:20:38 -08:00
Ryan Harmuth
814b70ffd8
Escape columns names for time grains - postgres ( #3736 )
2017-10-30 21:02:46 -07:00
Alejandro Fernandez
adef519583
DI-1113. Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez) ( #3652 )
2017-10-16 20:15:16 -07:00
Maxime Beauchemin
ccd5fd44cf
Removing dependency on pythrifthiveapi ( #3494 )
...
Since the latest pyhive, we don't need pythrifthiveapi as they ship with
the latest version.
There's actually a conflict between the new pyhive and pythrifthiveapi
and this fixes it.
2017-09-19 11:19:49 -07:00
timifasubaa
ede1432936
Improve code quality ( #3480 )
...
* add lanscape?
* add code climate badges
* pylint first pass
* Try out yapf
* merge
* merge
* lint
* more yapf
* removed unnecessary corrections
2017-09-18 20:40:27 -07:00
Maxime Beauchemin
497a6f1df9
[hive] fix date casting in explore view ( #3394 )
2017-08-30 11:56:43 -07:00
Maxime Beauchemin
6fc837db51
[sql lab] improve error messages ( #3308 )
...
* [sql lab] improve error messages
Some error messages in non-async mode were showing as JSON or sometimes
as tuples. This fixes that.
* linting
2017-08-18 15:50:07 -07:00
Maxime Beauchemin
0aa3d2a818
[hive] improve error messages ( #3305 )
...
* [hive] improve error messages
* Addressing comments
2017-08-16 17:40:28 -07:00
Maxime Beauchemin
84e59a11f1
[bugfix] Presto KeyError 'errorLocation' ( #3291 )
2017-08-16 13:25:09 -07:00
Maxime Beauchemin
166c576c94
Add basic Impala engine spec ( #3225 )
...
From:
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/impala_datetime_functions.html
2017-08-04 09:10:32 -07:00
Maxime Beauchemin
774ad45efb
[bugfix] capture Hive job_id pre-url transformation ( #3213 )
2017-07-31 22:22:08 -07:00
Maxime Beauchemin
e4fba0ffb7
[bugfix] fix merge conflict that broke Hive support ( #3196 )
2017-07-27 21:34:15 -07:00
Maxime Beauchemin
e584a9673f
Add BigQuery engine specifications ( #3193 )
...
As contributed by @mxmzdlv on issue #945
2017-07-27 14:01:13 -07:00
Maxime Beauchemin
b888802e05
[sqllab] improve Hive support ( #3187 )
...
* [sqllab] improve Hive support
* Fix "Transport not open" bug
* Getting progress bar to show
* Bump pyhive to 0.4.0
* Getting [Track Job] button to show
* Fix testzz
2017-07-27 14:00:19 -07:00
Maxime Beauchemin
25c599d040
Escaping the user's SQL in the explore view ( #3186 )
...
* Escaping the user's SQL in the explore view
When executing SQL from SQL Lab, we use a lower level API to the
database which doesn't require escaping the SQL. When going through
the explore view, the stack chain leading to the same method may need
escaping depending on how the DBAPI driver is written, and that is the
case for Presto (and perhaps other drivers).
* Using regex to avoid doubling doubles
2017-07-27 09:47:31 -07:00
timfeirg
6045063e78
fix hive.fetch_logs ( #2968 )
2017-07-25 21:43:19 -07:00
Maxime Beauchemin
38375be5c3
Fix issues around % signs and Presto ( #2755 )
...
* Fix issues around % signs and Presto
* Fix mysql
2017-05-12 09:45:33 -07:00
Maxime Beauchemin
5dbfdefae8
[sql lab] fix partitionned table has no partitions ( #2740 )
2017-05-11 08:23:43 -07:00
Maxime Beauchemin
a6e1e18244
[sql lab] fix CREATE TABLE AS ( #2719 )
2017-05-06 21:23:55 -07:00
Marek Vavruša
9ff351532a
Basic integration with ClickHouse ( #1844 )
...
* db_engine_specs: added engine spec for clickhouse
* models: group by time without join on subquery
if this is enabled, it will remove the subquery when grouping by time,
and group by time will be rewritten as group by timeslot, ...
this particularly fixes clickhouse backend
* docs: added clickhouse
* models: allow using secondary dttm columns as constraints
* superset/forms: configurable default slice since time
* superset/models: respect dialect quoting
* dttm handling, codeclimate tweaks
2017-05-03 13:57:39 -07:00
Riccardo Magliocchetti
a58adc862e
Fix orm query in HiveEngineSpec.handle_cursor ( #2699 )
...
Fix #2643
2017-04-30 10:55:56 -07:00
Riccardo Magliocchetti
83abfef830
superset: fix argument swap for SqliteEngineSpec.get_table_names ( #2664 )
...
Fix #2660
2017-04-22 12:35:39 -07:00
Maxime Beauchemin
938e13a429
[hotfix] Presto's latest_sub_partion rendering fail
2017-04-20 17:44:56 +00:00
Maxime Beauchemin
cb3384b3b2
Improving Presto error message in explore/dashboard ( #2633 )
...
* Improving Presto error message in explore/dashboard
* lint
2017-04-18 12:30:17 -07:00
Maxime Beauchemin
91fe02cdc8
Setting adjust_database_uri for HiveEngineSpec ( #2636 )
...
* Setting adjust_database_uri for HiveEngineSpec
* fix tests
2017-04-18 12:29:13 -07:00
Maxime Beauchemin
c43a9fd554
[hotfix] fixing the build
2017-04-13 15:58:04 -07:00
Maxime Beauchemin
fc7bd63039
[sql lab] fixes issues specific to Sqlite ( #2606 )
2017-04-13 15:19:58 -07:00
Maxime Beauchemin
8bceda8134
[hotfix] fix iframe viz
2017-04-13 18:37:27 +00:00
Maxime Beauchemin
ac84fc2b65
Fixing confusion when selecting schema across engines ( #2572 )
2017-04-10 15:36:58 -07:00
openmax
62959ca38b
Db2 Grain Correct Data Format ( #2545 )
...
* Db2 Grain Correct Data Format
* Db2 Grain Correct Data Format.
* Db2 Grain Correct Data Format + typo
* Db2 Grain Correct Data Format +typo
2017-04-05 00:03:24 -07:00
dwa
9ba5b49d8a
WIP: Initial commit to support the athena DB ( #2531 )
...
* Initial commit to support the athena DB
This work was done at tobii.com (in collaboration with knowit.se), and depends on:
- A patched version of PyAthenaJDBC (https://github.com/dwa/PyAthenaJDBC/tree/dwa-tobii-dict_formatter )
- A patched version of PyHive (https://github.com/dwa/PyHive/tree/dwa-tobii-sqlalchemy-athena )
And can be used like so:
athena://<user>:<password>@athena.us-east-1.amazonaws.com/?region_name=<region>&s3_staging_dir=s3%3A//<staging_bucket_of_choice>
* Rebased, and fixed two lint issues
* rename athena engine: athena -> awsathena
2017-04-02 20:29:33 -07:00
Maxime Beauchemin
ce6e7c1359
[hotfix] missing logging import in db_engined_specs
2017-03-29 05:08: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
f374345860
Adding a .pylintrc file and a bit of linting ( #2507 )
2017-03-28 20:15:54 -07:00
openmax
f3cdb3b787
Add ibm_db_sa TimeStamp and Datatime Grain Spec. ( #2500 )
...
* Add ibm_db_sa TimeStamp and Datatime Grain Spec.
* Add ibm_db_sa TimeStamp and Datatime Grain Spec. + Typo Err
2017-03-28 08:12:47 -07:00
Maxime Beauchemin
7bf19b1232
[WiP] making doubling '%' not required ( #2459 )
...
* Making doubling '%' not required
Now passing the sqlalchemy query object to pandas's read_sql_query
* Fix test/lint
2017-03-24 09:23:25 -07:00
Bogdan
3d77a12aa9
Display the first partition. ( #2425 )
2017-03-16 15:52:35 -07:00
Bogdan
3107152f5b
Revert "Preprocess the where clauses." ( #2411 )
...
* Revert "Display full name. (#2378 )"
This reverts commit 5b19528662 .
* Revert "Preprocess the where clauses. (#2405 )"
This reverts commit 357773c631 .
2017-03-14 16:00:52 -07:00
Bogdan
357773c631
Preprocess the where clauses. ( #2405 )
2017-03-14 13:28:05 -07:00
Bogdan
6160a3fdff
Implement stop query functionality. ( #2387 )
...
* Implement stop query functionality.
* Address comments
2017-03-13 13:54:38 -07:00
Bogdan
740624ba01
Fix monthly time grain in sqllite ( #2380 )
2017-03-10 11:57:17 -08:00
Bogdan
2b0cb2b0a5
Fix partition query ( #2353 )
2017-03-06 17:22:52 -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
Bogdan
3a91667e92
Update cache for the command line command. ( #2213 )
2017-02-22 12:06:48 -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
c564881867
Implement caching and dynamic data fetching. ( #1466 )
...
* Rename rv => o in the decorator.
* Address comments.
* Permissions cleanup: remove none and duplicates. (#1967 )
* Updates
* Rename var and dropdown text
* Cleanup
* Resolve comments.
* Add user to the perm check.
2017-02-13 16:14:55 -08:00