Log error records as a pipe delimited string #388
-
I have a list of tuples that will be loaded using executemany. Good records should get loaded while I want to log the error or bad records into an error_table with three columns run_date, data_string, error. is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
anthony-tuininga
Aug 27, 2024
Replies: 1 comment 2 replies
-
Yes, it is definitely possible! Use the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cjbj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it is definitely possible! Use the
batcherrors
option forexecutemany()
which is documented here.