Replies: 1 comment
-
|
Created #651 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
as per docs my understanding
columnskey is intended to explain sling how to cast data on the way from source to target:ref: columns docs
ref: columns references in github
My intention was to read CSV file and save column where the date is recorded in format
YYYYMMDDasstringinto target database (postgres in my case), by default sling saves that asbigintortimestampvalue (depending how successful type identification was done).I've tried different combinations of settings (including cli keys and YAML), however it seems that sling ignores its.
In the debug output I see the line:
so it looks the config option is taken, however there is any effect on that - the column in db is created with "identified" datatype anyway:
my YAML config:
source file:
PS. sling logs (full trace):
Beta Was this translation helpful? Give feedback.
All reactions