Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc65f82

Browse files
Merge pull request #5993 from segmentio/update-warehouse-faq-datatype
update-warehouse-faq-datatype
2 parents 0b68cc6 + 711aa74 commit bc65f82

File tree

1 file changed

+13
-1
lines changed
  • src/connections/storage/warehouses

1 file changed

+13
-1
lines changed

src/connections/storage/warehouses/faq.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,19 @@ Protocols customers can also use [Transformations](/docs/protocols/transform/) t
6464
6565
## Can I change the data type of a column in the warehouse?
6666

67-
Yes. Data types are set up in your warehouse based on the first value that comes in from a source, but you can request the support team to update the data type by reaching out to [Segment support](https://app.segment.com/workspaces?contact=1){:target="_blank”}. To learn more, check out Segment's [Data Types](/docs/connections/storage/warehouses/schema/#schema-evolution-and-compatibility) documentation.
67+
Yes. Data types are initially set up in your warehouse based on the first value that comes in from a source, but you can request data type changes by reaching out to [Segment support](https://app.segment.com/workspaces?contact=1){:target="_blank”} for assistance.
68+
69+
Keep in mind that Segment only uses [general data types](/docs/connections/storage/warehouses/schema/#schema-evolution-and-compatibility){:target="_blank”} when loading data in your warehouse. Therefore, some of the common scenarios are:
70+
- Changing data type from `timestamp` to `varchar`
71+
- Changing data type from `integer` to `float`
72+
- Changing data type from `boolean` to `varchar`
73+
74+
More granular changes (such as the examples below) wouldn’t normally be handled by the Support team, thus they often need to be made within the warehouse itself:
75+
- Expanding data type `varchar(256)` to `varchar(2048)`
76+
- Updating data type `integer` to `bigint`
77+
- Updating data type `float` to `float8`
78+
79+
6880

6981
## Can the data type definitions in Protocols be enforced in a warehouse schema?
7082

0 commit comments

Comments
 (0)