forked from cockroachdb/cockroach
-
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.
importccl: support DEFAULT columns for current timestamp functions
like now(), localtimestamp, transaction_timestamp, current_date This PR follows up from cockroachdb#50295 to add support for functions concerning current timestamps, which include now(), localtimestamp(), transaction_timestamp(), current_date(). This is achieved by injecting the walltime recorded at `importCtx` into evalCtx required for the evaluation of these functions. Partially addresses cockroachdb#48253. Release note (general change): timestamp functions are now supported by IMPORT INTO.
- Loading branch information
anzoteh96
committed
Jul 14, 2020
1 parent
10f0c57
commit 90b5a20
Showing
3 changed files
with
116 additions
and
8 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