Why can't I set compression_level with athena CREATE TABLE AS?

0

According to the docs https://docs.aws.amazon.com/athena/latest/ug/compression-support-zstd-levels.html Athena v3 should allow me to set compression level when using ZSTD, but Athena throws a syntax error:

CREATE TABLE some_db."amazingstuff"
    WITH (
        write_compression = 'ZSTD',
        format = 'PARQUET',
        compression_level = '10',
        table_type = 'ICEBERG',
        is_external = false,
        location = 's3://foo/table'
    ) AS
SELECT "id" FROM "schema"."table";

In the AWS console I get:

Unsupported property compression_level.

I'm on Athena v3 because feature changes since v2 like SELECT CONCAT('athena_v3_requires_two_args'); fails. I also can't do ALTER TABLE or any some such. Why is that?

질문됨 10달 전243회 조회
1개 답변
1

Does it work if you specify the compression level as an integer instead of a string ? compression_level = 10

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠