-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration tests for Storage Write API schema update feature (#2…
…7740) * Add argument checks and tests for BQ StorageAPI sinks. * Change some argument checking to log a warning message if the check fails. * Fix the format after spotlessCheck and checkStyle. * Parameterize tests with useWriteSchema option. Internally, we will decide whether to call withSchema() with a schema of shuffled fields based on this option. * Update some warning messages. * Fix a few typos on the method name STORAGE_WRITE_API * Change the warning message when both numStorageWriteApiStreams and autoSharding are set. In this case, autoSharding takes priority. * Add an argument check for using both numFileShards and autoSharding via FILE_LOADS. * integration tests for auto schema update * remove observing stream from tests * fix test expected message * add test for ignoreunknown, move exception tests to other file * fixes * cleanup unused variables; add with/without table schema change dimension * forgot to remove a test * update query --------- Co-authored-by: Shunping Huang <[email protected]>
- Loading branch information
1 parent
34cabc0
commit 7824f2c
Showing
6 changed files
with
602 additions
and
31 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
Oops, something went wrong.