Ilya Ruzakov
0b6f1fc21b
[Data Sources] Implement Apache Drill ( #3188 )
...
* Added support for Apache Drill datasource
* Improvements in `Drill` query runner and minor refactoring
1. Drill query runner now inherits from `BaseHTTPQueryRunner`, because they both have a lot of common code.
2. `BaseHTTPQueryRunner.get_response` method now accepts `http_method` argument (original implementation was only capable of sending `GET` HTTP requests).
3. Added `order` to `BaseHTTPRequestRunner` configuration schema to fix order of UI elements based on the schema.
4. Eliminated duplicate method `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, moved `guess_type` to `redash.query_runner`.
5. Removed tests for `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, merged them into single test case and moved to `tests.query_runner.test_utils`.
6. Various minor changes (code style, imports, etc).
2019-01-10 09:12:35 +02:00
Takuya Arita
0784a0c6f5
Add some tests for Query Results ( #3031 )
2018-10-31 11:05:17 +02:00
Arik Fraimovich
c71f722552
Query Results query runner improvements: ( #2969 )
...
- Show meaningful error when failing to create table.
- Quote column names to allow more characters types.
2018-10-16 15:23:00 +03:00
Niko Eckerskorn
6ea03e58b4
Address edgecase when retrieving Glue schemas for Athena query runner. ( #2868 )
...
Fixes getredash/redash#2858
2018-10-10 19:13:48 +03:00
Jannis Leidel
c2429e92d2
Consistently use simplejson to loading and dumping JSON. ( #2817 )
...
* Consistently use simplejson to loading and dumping JSON.
This introduces the new functions redash.utils.json_dumps and redash.utils.json_loads and simplifies the custom encoder setup.
UUIDs are now handled by the default encoder, too.
Fixes #2807 .
Use string comparison in parse_boolean instead of the (simple)json module.
2018-10-09 15:38:06 +02:00
Allen Short
d07c4f969b
Support authentication for the URL query runner.
...
Adds a new BaseHTTPQueryRunner class and tests.
2018-09-28 21:31:49 +02:00
Arik Fraimovich
f89d64e467
Merge pull request #2663 from ariarijp/improve-spreadsheets
...
Set column name implicitly when column name is blank
2018-07-29 14:50:12 +03:00
Arik Fraimovich
2e9ef66cbc
Fix: Google Spreadsheets tests
2018-07-25 12:42:36 +03:00
Arik Fraimovich
25de0b9dab
Merge pull request #2514 from atharvai/gsheets_parse_fix_2504
...
Update value parsing for google spreadsheets source
2018-07-19 12:02:36 +03:00
Arik Fraimovich
f78ab06369
Merge pull request #2647 from ariarijp/improve-script
...
Improve Script Query Runner
2018-07-12 23:37:23 +03:00
ariarijp
53c20e2250
Set column name implicitly when column name is blank
2018-07-03 16:02:41 +09:00
ariarijp
c5f27253b0
Change message for empty output
2018-07-02 21:36:15 +09:00
ariarijp
389c6cb3c5
Improve Script Query Runner
2018-06-29 00:03:17 +09:00
ariarijp
bad7e92cce
Add tests for SpreadSheets
2018-06-28 18:57:41 +09:00
ariarijp
8a4eab1c93
Add tests for Query Results
2018-06-28 15:37:11 +09:00
ariarijp
9d2a3133f0
Improve Script Query Runner
2018-06-21 14:45:12 +09:00
ariarijp
5757b24ea3
Improve Google Spreadsheets Query Runner
2018-06-19 22:29:46 +09:00
atharva.inamdar
a0d039066d
fix tests for google spreadsheets
2018-05-04 11:21:55 +01:00
Arik Fraimovich
025af41616
Merge pull request #2260 from Top20Talent/master
...
Extend the Prometheus query runner to support the range query
2018-03-04 10:57:30 +02:00
Arik Fraimovich
5ad893a266
Close #1199 : support for nested fields in MongoDB results
2018-02-10 21:55:06 +02:00
jubel
8a2676701b
extend the prometheus query runner to support the range query
2018-01-26 13:16:28 +08:00
Hao Jiang
6e2e2e2060
Fix: unicode handling at query result
2017-12-16 09:55:15 +09:00
ariarijp
93aa28cdf7
Handling whitespace characters in Query Results data source
2017-11-23 21:46:10 +09:00
Arik Fraimovich
1cbf09cbbe
Add: data source to run queries on top of query results.
2017-11-01 16:10:04 +02:00
sseifert
187b557eee
adapt to new field mapping syntax and add unit tests
2017-01-09 14:40:27 +01:00
Arik Fraimovich
d9bad96e8e
Remove MQL tests
2016-10-28 18:16:54 +03:00
Arik Fraimovich
09a848f524
Change: deduplicate Google Spreadsheet columns
2016-09-11 09:41:15 +03:00
Arik Fraimovich
95fa6849b3
More robust parsing of worksheets with handling:
...
- handle the case of empty worksheet.
- handle the case of worksheet with no data.
2016-07-04 22:25:10 +03:00
Arik Fraimovich
6905340c2d
Google Spreadsheets: Add support for unicode
2016-07-04 18:31:42 +03:00
Arik Fraimovich
1359d386c6
Change tag to be humanTime
2016-03-14 10:13:38 +02:00
Arik Fraimovich
1aab5b4963
Install Pymongo for tests (temporary solution)
2016-03-13 23:32:54 +02:00
Arik Fraimovich
18d7c33620
Feature: MongoDB - add support for $date and relative dates.
2016-03-13 23:25:24 +02:00
Jeff Widman
c198d22691
Format files to end in a single newline per PEP 8
2016-02-29 12:00:03 -08:00
Arik Fraimovich
f737be272f
Update GitHub repo url (EverythingMe -> GetRedash)
2015-11-26 10:34:16 +02:00
Alon Horev
bea0e9aad0
Add support for MQL (a propietery SQL implementation for MongoDB by digdata.io)
2015-11-13 23:35:34 +02:00
Arik Fraimovich
0f8da884f9
Fix #597 : MongoDB date parsing logic improvement
2015-10-11 14:44:12 +03:00