forked from dlt-hub/dlt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improves collision detection when naming convention changes (dlt-hub#…
…1536) * adds more info to pipeline drop and info commands * extracts known env variables to separate module * drops tables on staging * tests create/drop datasets and tables * simplifies drop command and helpers + tests * adds no print linter module and a few other small fixes * improves collision detection when normalizers change * allows glob to work with memory filesystem * replaces walk in filesystem destination with own glob * standardizes drop_dataset beahvior for all destinations * creates athena iceberg tables in random locations
- Loading branch information
Showing
59 changed files
with
1,010 additions
and
330 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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,25 @@ | ||
"""Defines env variables that `dlt` uses independently of its configuration system""" | ||
|
||
DLT_PROJECT_DIR = "DLT_PROJECT_DIR" | ||
"""The dlt project dir is the current working directory, '.' (current working dir) by default""" | ||
|
||
DLT_DATA_DIR = "DLT_DATA_DIR" | ||
"""Gets default directory where pipelines' data (working directories) will be stored""" | ||
|
||
DLT_CONFIG_FOLDER = "DLT_CONFIG_FOLDER" | ||
"""A folder (path relative to DLT_PROJECT_DIR) where config and secrets are stored""" | ||
|
||
DLT_DEFAULT_NAMING_NAMESPACE = "DLT_DEFAULT_NAMING_NAMESPACE" | ||
"""Python namespace default where naming modules reside, defaults to dlt.common.normalizers.naming""" | ||
|
||
DLT_DEFAULT_NAMING_MODULE = "DLT_DEFAULT_NAMING_MODULE" | ||
"""A module name with the default naming convention, defaults to snake_case""" | ||
|
||
DLT_DLT_ID_LENGTH_BYTES = "DLT_DLT_ID_LENGTH_BYTES" | ||
"""The length of the _dlt_id identifier, before base64 encoding""" | ||
|
||
DLT_USE_JSON = "DLT_USE_JSON" | ||
"""Type of json parser to use, defaults to orjson, may be simplejson""" | ||
|
||
DLT_JSON_TYPED_PUA_START = "DLT_JSON_TYPED_PUA_START" | ||
"""Start of the unicode block within the PUA used to encode types in typed json""" |
This file contains 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 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 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
Oops, something went wrong.