amazon s3 复制命令中 maxerror 允许的默认值和最大值
default and maximun values allowed for maxerror in amazon s3 copy command
我试图在我的项目中使用 s3 复制命令。
在我的场景中,有可能会出现很多错误。
这是我在文档中找到的示例片段。
文件 link:https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html
copy event from 's3://mybucket/data/allevents_pipe.txt' iam_role
'arn:aws:iam::0123456789012:role/MyRedshiftRole' removequotes
emptyasnull blanksasnull maxerror 5 delimiter '|' timeformat
'YYYY-MM-DD HH:MI:SS' manifest;
我试图找出 maxerror 的最大值和默认值。我阅读了 s3 文档,但找不到任何相关内容。
任何人都可以告诉我同样的信息吗?
如有任何帮助,我们将不胜感激。
您始终可以在复制命令中为数据加载操作设置参数。在您的情况下,您可以将 MAXERROR 参数设置为它支持的最大限制(即 100000)。这是相同 https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-data-load.html#copy-maxerror 的 redshift 文档。
我试图在我的项目中使用 s3 复制命令。 在我的场景中,有可能会出现很多错误。
这是我在文档中找到的示例片段。 文件 link:https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html
copy event from 's3://mybucket/data/allevents_pipe.txt' iam_role 'arn:aws:iam::0123456789012:role/MyRedshiftRole' removequotes emptyasnull blanksasnull maxerror 5 delimiter '|' timeformat 'YYYY-MM-DD HH:MI:SS' manifest;
我试图找出 maxerror 的最大值和默认值。我阅读了 s3 文档,但找不到任何相关内容。
任何人都可以告诉我同样的信息吗?
如有任何帮助,我们将不胜感激。
您始终可以在复制命令中为数据加载操作设置参数。在您的情况下,您可以将 MAXERROR 参数设置为它支持的最大限制(即 100000)。这是相同 https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-data-load.html#copy-maxerror 的 redshift 文档。