microsoft / hyperspace

An open source indexing subsystem that brings index-based query acceleration to Apache Spark™ and big data workloads.
https://aka.ms/hyperspace
Apache License 2.0
424 stars 115 forks source link

Remove linefeed check from gold standard plan comparison #419

Closed apoorvedave1 closed 3 years ago

apoorvedave1 commented 3 years ago

What is the context for this pull request?

Linux and Windows have different notions of end of line (CRLF vs LF, \r\n vs \n) which causes gold standard tests to fail when the golden file is created on one setup and tested on another.

What changes were proposed in this pull request?

Remove linefeeds before comparing plans.

Does this PR introduce any user-facing change?

no

How was this patch tested?

https://github.com/microsoft/hyperspace/pull/376 sanity check will be added to build process and will start passing for windows.

sezruby commented 3 years ago

LGTM thanks!