-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Aggregating indices now allow multiple field names in the key co…
…lumn (#51) * Updated build plan on external tables to they default to drop table. * Added exceptions for missing or misspelled fields in external tables. * As name is a required field for columns in external tables, removed some logic to error out with missing column names. * Updated changelog and version number. * Small edit to error messages for missing fields on external tables. * Changed default behavior on external tables: Firebolt external tables only drop and rebuild if explicity told to using a variable on dbt run-operation stage_external_sources. * Added allowable prefixes to PR title description. * Updated firebolt.dbtspec file. * Formatted integration_tests.yml to match that of code-check.yml. Added integration tests to pull_request.yml. * Now, actually added integration-tests to pull_request.yml. Fixed directory path issue in integration-tests.yml. * Some reformatting for legibility. Added docstrings. * Reordered index table names, tiny edits in error msgs, renamed type field to index_type for clarity. * Now passing secrets from pull_requests.yml to integration_tests.yml. * Commenting out integration tests from PR workflow. * Fixed misspelled variable FIREBOLT_USERNAME. * Edited pull_request.yml to use this branch for testing. Will rever later. * Bumped version number to 1.0.2. * Reverted pull_request.yml so that future integration tests will frun from main branch. * Bumped version number and added a little text to the changelog. * Cleaned up some missing index_type variable names. Bumped required python-sdk version to 0.5.2. * Cleanup on switch to index_type. Edited types for key and join columns, and added upper() to ensure match in errors in FireboltIndexConfig. * Moved todos out of comments and into dedicated Confluence doc. And yes, I know that's not actually relevant to the job at hand. * Added logic to deal with having a list of keys in aggregate indexes, and for correctly naming the indexes if there is a list of keys. * Edited changelog to remove a minor version change, as three PRs will likely be merged at once. * Changed version number to track with changelog. * Added breaking change field to changelog. * Removed two extra log statements. * Tried to add errors for instances of spaces in field names in join and agg indexes, but parsing is done in an external library, so I ended up just making minor changes in the error messages. * Rewrote validation conditionals for external table fields for better code style. * Added allowable prefixes to PR title description. * Updated firebolt.dbtspec file. * Formatted integration_tests.yml to match that of code-check.yml. Added integration tests to pull_request.yml. * Now, actually added integration-tests to pull_request.yml. Fixed directory path issue in integration-tests.yml. * Now passing secrets from pull_requests.yml to integration_tests.yml. * Fixed misspelled variable FIREBOLT_USERNAME. * Commenting out integration tests from PR workflow. * Edited changelog to remove a minor version change, as three PRs will likely be merged at once. * Pulled into a rebased branched. Fixed auto-merge. * Some reformatting for legibility. Added docstrings. * Reordered index table names, tiny edits in error msgs, renamed type field to index_type for clarity. * Edited version number and changelog. * Cleaned up some missing index_type variable names. Bumped required python-sdk version to 0.5.2. * Cleanup on switch to index_type. Edited types for key and join columns, and added upper() to ensure match in errors in FireboltIndexConfig. * Moved todos out of comments and into dedicated Confluence doc. And yes, I know that's not actually relevant to the job at hand. * Added logic to deal with having a list of keys in aggregate indexes, and for correctly naming the indexes if there is a list of keys. * Added breaking change field to changelog. * Removed two extra log statements. * Tried to add errors for instances of spaces in field names in join and agg indexes, but parsing is done in an external library, so I ended up just making minor changes in the error messages. * Updated pull request template to request integration tests are run, since we're no longer going to make them a PR action. * Cleaned up error conditionals in impl.py FireboltIndexConfig.parse(). * Removed a coupe of backticks that our security checks were complaining about. * Now removed apostrophes. Sigh.
- Loading branch information
1 parent
96b7eda
commit 6b203b9
Showing
10 changed files
with
101 additions
and
73 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
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