-
Notifications
You must be signed in to change notification settings - Fork 111
[PECO-1803] Splitting the PySql connector into the core and the non core part #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jprakash-db
merged 54 commits into
databricks:PECO-1803/connector-split
from
jprakash-db:jprakash-db/PECO-1803
Sep 24, 2024
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
335fc0c
Implemented ColumnQueue to test the fetchall without pyarrow
jprakash-db ad2b014
order of fields in row corrected
shivam2680 882e080
Changed the folder structure and tested the basic setup to work
jprakash-db 98c4cd6
Refractored the code to make connector to work
jprakash-db 25a006d
Basic Setup of connector, core and sqlalchemy is working
jprakash-db 1cfaae2
Basic integration of core, connect and sqlalchemy is working
jprakash-db c576110
Setup working dynamic change from ColumnQueue to ArrowQueue
jprakash-db 0ddca9d
Refractored the test code and moved to respective folders
jprakash-db 786dc1e
Added the unit test for column_queue
jprakash-db c91d43d
venv_main added to git ignore
jprakash-db b67b739
Added code for merging columnar table
jprakash-db 32e3dcd
Merging code for columnar
jprakash-db d062887
Fixed the retry_close sesssion test issue with logging
jprakash-db 9908976
Fixed the databricks_sqlalchemy tests and introduced pytest.ini for t…
jprakash-db af0cd4f
Added pyarrow_test mark on pytest
jprakash-db a07c232
Fixed databricks.sqlalchemy to databricks_sqlalchemy imports
jprakash-db f0c8e7a
Added poetry.lock
jprakash-db 46ae0f7
Added dist folder
jprakash-db 8c5e7dd
Changed the pyproject.toml
jprakash-db 24730dd
Minor Fix
jprakash-db 61de281
Added the pyarrow skip tag on unit tests and tested their working
jprakash-db bad7c0b
Fixed the Decimal and timestamp conversion issue in non arrow pipeline
jprakash-db 520d2c8
Removed not required files and reformatted
jprakash-db 051bdce
Fixed test_retry error
jprakash-db 4d64034
Changed the folder structure to src / databricks
jprakash-db 93848d7
Removed the columnar non arrow flow to another PR
jprakash-db f37f42c
Moved the README to the root
jprakash-db 0e4b599
removed columnQueue instance
jprakash-db 8199832
Revmoved databricks_sqlalchemy dependency in core
jprakash-db 613e7dc
Changed the pysql_supports_arrow predicate, introduced changes in the…
jprakash-db c4a2e08
Ran the black formatter with the original version
jprakash-db 6f10ec6
Extra .py removed from all the __init__.py files names
jprakash-db 2115db1
Undo formatting check
jprakash-db 36c0f95
Check
jprakash-db 15d5047
Check
jprakash-db 8415230
Check
jprakash-db 15df683
Check
jprakash-db b4c3029
Check
jprakash-db bc758d8
Check
jprakash-db 31da868
Check
jprakash-db f79fc69
Check
jprakash-db d121fed
Check
jprakash-db 6e393b0
Check
jprakash-db 2383caf
Check
jprakash-db dd4c487
Check
jprakash-db 6be085c
Check
jprakash-db e7cf5c3
Check
jprakash-db b6a5668
BIG UPDATE
jprakash-db 4496a04
Refeactor code
jprakash-db 726b8ed
Refractor
jprakash-db 66bfa6d
Fixed versioning
jprakash-db 2c1cfbd
Minor refractoring
jprakash-db ae20a65
Minor refractoring
jprakash-db f056c80
Merged databricks:PECO-1803/connector-split into jprakash-db/PECO-1803
jprakash-db File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[tool.poetry] | ||
name = "databricks-sql-connector" | ||
version = "3.5.0" | ||
description = "Databricks SQL Connector for Python" | ||
authors = ["Databricks <databricks-sql-connector-maintainers@databricks.com>"] | ||
license = "Apache-2.0" | ||
|
||
|
||
[tool.poetry.dependencies] | ||
databricks_sql_connector_core = { version = ">=1.0.0", extras=["all"]} | ||
databricks_sqlalchemy = { version = ">=1.0.0", optional = true } | ||
|
||
[tool.poetry.extras] | ||
databricks_sqlalchemy = ["databricks_sqlalchemy"] | ||
|
||
[tool.poetry.urls] | ||
"Homepage" = "https://github.com/databricks/databricks-sql-python" | ||
"Bug Tracker" = "https://github.com/databricks/databricks-sql-python/issues" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
databricks_sql_connector_core/src/databricks/sqlalchemy/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
try: | ||
from databricks_sqlalchemy import * | ||
except: | ||
import warnings | ||
|
||
warnings.warn("Install databricks-sqlalchemy plugin before using this") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.