You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While developing compaction #98 , I noticed some weird behavior on the output of IndexStatus. It turns out that the maxWeight for more than one file was returning a wrong result.
The maxWeightof a cube is composed of the minimummaxWeightof all the files belonging to that cube. Instead, in some occasions, the output was the maximum or other number.
What went wrong?
While developing compaction #98 , I noticed some weird behavior on the output of
IndexStatus
. It turns out that themaxWeight
for more than one file was returning a wrong result.The
maxWeight
of a cube is composed of the minimummaxWeight
of all the files belonging to that cube. Instead, in some occasions, the output was the maximum or other number.Example:
How to reproduce?
1. Code that triggered the bug, or steps to reproduce:
You can reproduce it with the following test:
2. Branch and commit id:
main
commit 9a17df83. Spark version:
On the spark shell run
spark.version
.3.1.2
4. Hadoop version:
On the spark shell run
org.apache.hadoop.util.VersionInfo.getVersion()
.3.2.0
5. How are you running Spark?
Are you running Spark inside a container? Are you launching the app on a remote K8s cluster? Or are you just running the tests in a local computer?
Local
6. Stack trace:
Trace of the log/error messages.
Weight(-1726009150) was not equal to Weight(-1936746399)
The text was updated successfully, but these errors were encountered: