Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spanner/spannertest): Support generated columns (#4742)
* feat(spanner/spannertest): Support generated columns * Add support for LOWER function * Remove checking of dependent columns and improve testing * docs: fix a couple of comments * Make CI happy with casing * Don't panic if columns are nil in generated columns using funcs * No longer returning code.InvalidArgument when calling db_eval.evalFunc but that seems consistent with the rest of the module, no tests failed so I assume its not behaviour relied upon, we could check for the error type instead * Add ErrorIs and make functions public to allow spannertest to use * fix: add errorIs to spannertest package * fix: remove unrelated changes * fix: remove specific error checking and return null from evaluations * fix: restore to original errors * Prettify comments * test: add error msg + delete test Co-authored-by: Knut Olav Løite <koloite@gmail.com>
- Loading branch information
Showing
6 changed files
with
292 additions
and
6 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.