SSC-FDM-OR0042
Date Type Transformed To Timestamp Has A Different Behavior
Description
Date type is being transformed to either Date or Timestamp type depending on flag --disableDateAsTimestamp, because Date type in Snowflake has a different behavior than Oracle.
Key Differences
Oracle DATE | Snowflake DATE | |
---|---|---|
Functionality | Stores date and time information | Stores only date information (year, month, day) |
Internal Storage | Binary number representing seconds since epoch | Compact format optimized for dates |
Use Cases | General-purpose date and time storage | Scenarios where only date information is needed |
Advantages | Supports both date and time | More efficient storage for dates |
Limitations | Can't store date and time components separately. | Doesn't store time information |
Example Code
Input Code (Oracle):
Output Code:
Recommendations
No end-user actions are required.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated