Skip to content

Commit

Permalink
Orange subtext add
Browse files Browse the repository at this point in the history
  • Loading branch information
arushi-firebolt committed Mar 6, 2024
1 parent 571a62e commit da4747f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/general-reference/release-notes/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For [`EXPLAIN`](../sql-reference/commands/explain.md) queries, we now allow only

<!--- FIR-29660 --->**Range violation implement for import of parquet INT columns into PDGATE columns**

Reading of Parquet/ORC integer columns will now not be allowed if the external table specifies the types of those columns to be one of the new DATE, TIMESTAMP, TIMESTAMPTZ types. The examples below assume that the new DATE and TIMESTAMP types are already enforced for you. If not, use PGDATE instead of DATE, TIMESTAMPNTZ instead of TIMESTAMP and to_timestamptz() instead of to_timestamp().
Reading of Parquet/ORC integer columns will now not be allowed if the external table specifies the types of those columns to be one of the new `DATE`, `TIMESTAMP`, `TIMESTAMPTZ` types. The examples below assume that the new `DATE` and `TIMESTAMP` types are already enforced for you. If not, use `PGDATE` instead of `DATE`, `TIMESTAMPTZ` instead of `TIMESTAMP`, and 'to_timestamptz()' instead of 'to_timestamp()'.

If you want to cast integer 42 to a date, you should use: `SELECT '1970-01-01'::DATE + 42; --> '1970-02-12'::DATE`
If you want to cast integer 42 to a TIMESTAMP, you should use: `SELECT to_timestamp(42) AT TIME ZONE 'UTC'; --> 1970-01-01 00:00:42`
Expand Down

0 comments on commit da4747f

Please sign in to comment.