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

[C++] auto enable brotli when enable ARROW_FUZZING #35282

Closed
mapleFU opened this issue Apr 22, 2023 · 0 comments · Fixed by #35283
Closed

[C++] auto enable brotli when enable ARROW_FUZZING #35282

mapleFU opened this issue Apr 22, 2023 · 0 comments · Fixed by #35283

Comments

@mapleFU
Copy link
Member

mapleFU commented Apr 22, 2023

Describe the enhancement requested

In parquet/arrow/generate_fuzz_corpus.cc, it depends on brotli. However, arrow didn't auto enable it:

std::shared_ptr<WriterProperties> GetWriterProperties() {
  WriterProperties::Builder builder{};
  builder.disable_dictionary("no_dict");
  builder.compression("compressed", Compression::BROTLI);
  return builder.build();
}

Component(s)

C++, Developer Tools

kou pushed a commit that referenced this issue Apr 26, 2023
### Rationale for this change

Auto enable brotli when enable fuzzing

### What changes are included in this PR?

Detect Fuzzing enabled, if it's, enable BROTLI

### Are these changes tested?

### Are there any user-facing changes?

* Closes: #35282

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 13.0.0 milestone Apr 26, 2023
liujiacheng777 pushed a commit to LoongArch-Python/arrow that referenced this issue May 11, 2023
…35283)

### Rationale for this change

Auto enable brotli when enable fuzzing

### What changes are included in this PR?

Detect Fuzzing enabled, if it's, enable BROTLI

### Are these changes tested?

### Are there any user-facing changes?

* Closes: apache#35282

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this issue May 15, 2023
…35283)

### Rationale for this change

Auto enable brotli when enable fuzzing

### What changes are included in this PR?

Detect Fuzzing enabled, if it's, enable BROTLI

### Are these changes tested?

### Are there any user-facing changes?

* Closes: apache#35282

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
rtpsw pushed a commit to rtpsw/arrow that referenced this issue May 16, 2023
…35283)

### Rationale for this change

Auto enable brotli when enable fuzzing

### What changes are included in this PR?

Detect Fuzzing enabled, if it's, enable BROTLI

### Are these changes tested?

### Are there any user-facing changes?

* Closes: apache#35282

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants