【问题标题】:Can we use compression while creating table using CTAS in Amazon redshift我们可以在 Amazon redshift 中使用 CTAS 创建表时使用压缩吗
【发布时间】:2018-10-31 22:18:33
【问题描述】:

有没有人尝试在 redshift 中使用 CTAS 命令时添加压缩。 我在他们的文档中没有找到任何关于此的内容。

https://docs.aws.amazon.com/redshift/latest/dg/r_CTAS_usage_notes.html

谢谢

【问题讨论】:

    标签: amazon-web-services amazon-redshift


    【解决方案1】:

    我们不能按照CTAS Usage Notes - Amazon Redshift使用它:

    CREATE TABLE AS (CTAS) 表不会从创建它们的表继承约束、标识列、默认列值或主键。

    您不能为 CTAS 表指定列压缩编码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-13
      • 2019-02-27
      • 2015-12-21
      • 1970-01-01
      • 1970-01-01
      • 2021-10-29
      • 1970-01-01
      • 2012-06-11
      相关资源
      最近更新 更多