AAfghahi
e32a12fa0b
bug fix ( #17019 )
2021-10-08 10:19:04 -07:00
AAfghahi
aa747219ad
feat: Add Private Google Sheets to dynamic form ( #16628 )
...
* first pass private gsheets
* made encrypted extra into string, refactored onParametersChanged
* private sheets working, credential_info errors
* all but test connection working
* first pass private gsheets
* made encrypted extra into string, refactored onParametersChanged
* private sheets working, credential_info errors
* all but test connection working
* Regenerate package-lock.json
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-09-28 17:08:50 -07:00
John Bodley
7e4c940314
chore(pylint): Enable useless-suppression check ( #16388 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-24 03:58:41 +12:00
Hugh A. Miles II
fd80ae34a3
fix: Make sheet_name into a ValidationInputError ( #16056 )
...
* setup validates for name
* add error type
* fix linting
* fix test
* remove errors
* fix number
* fix test
2021-08-10 13:07:31 -04:00
Hugh A. Miles II
bfe7eb9a7b
feat(dbc ui): Adding Google Sheets Dynamic Form ( #15801 )
...
* feat: Make Google Sheets Dyanmic (#15576 )
* first draft
* second draft
* added tests
* first draft
* added table_catalog
* remove console.log
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* revisions
* save this for now
* working form
* save disable on public sheets
* refactor somethings
* saving this for now
* working edit
* add back query to schema
* working add
* fix styling
* fixing x
* fix linting
* prettier
* fix some type issues
* more lint fixes
* remove unused dependency
* fix linint
* fix validation
* pylint bypass
* pylint bypass
* fix this
* fix mypy
* yerp
* fix test
* fix test
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* wrap add sheets
* fix linting issues
* fix unit test
* ignore typing
* fix editting and paste issues
* remove query
* fix this
* fix test
* add test back
* fix error messaging
* update url messaging on error
* change error type
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* add errors for sheets with no name
* fix
* fix messaging for gsheets
* stop pylint
* update line
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com >
Co-authored-by: Arash <arash.afghahi@gmail.com >
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-07-28 15:00:27 -04:00
Beto Dealmeida
4f5f9287fc
feat: validate_parameters for GSheets ( #15578 )
...
* feat: validate_parameters for GSheets
* Move import inside fixture
* Update deps
* Rename parameter
2021-07-08 08:26:39 -07:00
Beto Dealmeida
cbc4aa8dc1
feat: extra table metadata for Google Sheets ( #14775 )
...
* feat: GSheets extra table metadata
* Bump version
2021-07-01 19:27:26 -07:00
Beto Dealmeida
55d0371b92
fix: GSheets supports JOINs ( #15487 )
2021-07-01 07:28:28 -07:00
AAfghahi
743d9cc928
feat: Better Errors in SQL Lab ( #15432 )
...
* snowflake errors
* added big query
* added to setup error messages, first test
* all big query testing added
* added snowflake test
* added syntax error
* added syntax errors to most used databases
2021-06-29 16:48:27 -07:00
Beto Dealmeida
9e13476714
feat: enable user impersonation in GSheets ( #14767 )
2021-05-22 13:46:36 -07:00
Beto Dealmeida
0554c8918e
Enable subqueries in gsheetsdb ( #10991 )
2020-09-22 08:51:29 -07:00
Erik Ritter
2055ecc1ba
feat: refactor error components and add database issue code ( #10473 )
...
* feat: refactor error components and add database issue code
* Apply suggestions from code review
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2020-08-06 13:22:24 -07:00
Will Barrett
ec86d9de17
Fix lint in superset/db_engine_spec ( #8338 )
...
* Enable lint checking for files in db_engine_spec that have few to no
lint issues
* Enable lint and fix issue in db_engine_spec/mysql.py
* Enable pylint and fix lint for db_engine_spec/pinot.py
* Enable lint and fix issues for db_engine_specs/hive.py
* Enable lint and fix for db_engine_spec/presto.py
* Re-enable lint on base.py, fix/disable specific failures, including one
bad method signature
* Make flake8 happy after a number of pylint fixes
* Update db_engine_spec_test test cases related to Presto to support
different method naming
* automated reformatting
* One more pylint disable for druid.py
* Find the magic invocation that makes all the lint tools happy
2019-10-04 09:19:21 -07:00
Ville Brofeldt
07a76f83b1
[Bugfix] Remove prequery properties from query_obj ( #7896 )
...
* Create query_obj for every filter
* Deprecate is_prequery and prequeries from query_obj
* Fix tests
* Fix typos and remove redundant ; from sql
* Add typing to namedtuples and move all query str logic to one place
* Fix unit test
2019-07-23 22:13:58 +03:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -07:00
Ville Brofeldt
95291facff
Break up db_engine_specs ( #7676 )
...
* Refactor db_engine_specs into package
* Rename bigquery class and add epoch funcs
* Fix flake8 errors
* Dynamically load all engine specs
* Fix linting errors and unit tests
* Implement Snowflake epoch time funcs
* Implement Teradata epoch time func
* Fix presto datasource query and remove unused import
* Fix broken datasource query
* Add mypy ignore for false positive
* Add missing license files
* Make create_time_grains_tuple public
* Fix flake8 quote
* Fix incorrect licence header
2019-06-08 11:27:13 -07:00