Skip to content

Conversation

@coderfender
Copy link
Contributor

Which issue does this PR close?

Closes #3013

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@coderfender coderfender changed the title ansi_suport_benchmarking chore: ANSI support benchmarking suite Dec 29, 2025
@coderfender
Copy link
Contributor Author

@andygrove , benchmarks supporting ANSI mode had no Try check and were failing when I run them on my local. This PR is to essentially add support for ANSI mode so that the flow doesn't error out. I also wanted to see advice and see if I could add changes to add more variety to the benchmarking data in this PR or should we perhaps create a new one ?

@coderfender coderfender marked this pull request as draft December 29, 2025 18:58
@coderfender
Copy link
Contributor Author

Refactoring to not pass along both SQLConf and isANSIEnabled

/** Runs function `f` with Comet on and off. */
final def runWithComet(name: String, cardinality: Long)(f: => Unit): Unit = {
val benchmark = new Benchmark(name, cardinality, output = output)

Copy link
Contributor Author

@coderfender coderfender Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no longer being used and needed as well IMO

@coderfender coderfender marked this pull request as ready for review December 29, 2025 19:31
@coderfender coderfender changed the title chore: ANSI support benchmarking suite chore: Improve support - benchmarking suite Dec 29, 2025
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

Successfully merging this pull request may close these issues.

Bug : Error running benchmarks with ANSI enabled

1 participant