Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secor Avro Parquet doesn't use any configuration for parquet writer #1719

Open
richiesgr opened this issue Nov 23, 2020 · 1 comment
Open

Comments

@richiesgr
Copy link

richiesgr commented Nov 23, 2020

Hi
Question about this part of the code

`
public AvroParquetFileWriter(LogFilePath logFilePath, CompressionCodec codec) throws IOException {
...

        // Not setting blockSize, pageSize, enableDictionary, and validating
        writer = AvroParquetWriter.builder(path)
                .withSchema(schemaRegistry.getSchema(topic))
                .withCompressionCodec(codecName)
                .build();
    }

`
As you can see intentionally secor doesn't set blockSize, pageSize, enableDictionary, and validating making these configuration useless. It's also commented like this but no reason are given
Why all the parquet settings are not used ?
Thanks

@HenryCaiHaiying
Copy link
Contributor

HenryCaiHaiying commented Nov 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants