Closed Bryan-Noel closed 11 months ago
@DeleTaylor can't seem to respond directly to your comment about using a
SchemaTransformer
so adding my response here. Using aSchemaTransformer
works but I still had to set the type of theFieldDef
DoB toDATE
on line 67 otherwise the output would be something like1964-09-02 00:00:00.0
when the input is only09-02-1964
. This is because the inferred type for the column duringGenerateEntityFromDataset#generateEntity
isDATETIME
resulting in the generated ddl to useTableColumnType.TIMESTAMP
for the column.
@Bryan-Noel This might be a bug in the type inference logic. I'll take a look. 👍
@DeleTaylor can't seem to respond directly to your comment about using a
SchemaTransformer
so adding my response here. Using aSchemaTransformer
works but I still had to set the type of theFieldDef
DoB toDATE
on line 67 otherwise the output would be something like1964-09-02 00:00:00.0
when the input is only09-02-1964
. This is because the inferred type for the column duringGenerateEntityFromDataset#generateEntity
isDATETIME
resulting in the generated ddl to useTableColumnType.TIMESTAMP
for the column.