【问题标题】:Store the results from Pig directly to Redshift?将结果从 Pig 直接存储到 Redshift?
【发布时间】:2016-06-06 23:04:21
【问题描述】:

有没有办法将 Pig 中的结果直接存储到 Redshift 上的表中?

【问题讨论】:

    标签: amazon-web-services apache-pig amazon-redshift


    【解决方案1】:

    是的,但您可能不会喜欢它 - 它效率不高。

    1. 下载jdbc驱动(http://docs.aws.amazon.com/redshift/latest/mgmt/configure-jdbc-connection.html)

    2. 使用 PiggyBank DBStorage,mysql 示例here

    更好的方法是准备 csv 然后导入它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-19
      • 1970-01-01
      • 2017-12-13
      • 1970-01-01
      • 2013-09-30
      • 1970-01-01
      • 2018-11-17
      • 2017-09-08
      相关资源
      最近更新 更多