-
- Downloads
[SPARK-10095] [SQL] use public API of BigInteger
In UnsafeRow, we use the private field of BigInteger for better performance, but it actually didn't contribute much (3% in one benchmark) to end-to-end runtime, and make it not portable (may fail on other JVM implementations). So we should use the public API instead. cc rxin Author: Davies Liu <davies@databricks.com> Closes #8286 from davies/portable_decimal.
Showing
- sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java 8 additions, 21 deletions.../org/apache/spark/sql/catalyst/expressions/UnsafeRow.java
- sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRowWriters.java 3 additions, 6 deletions...ache/spark/sql/catalyst/expressions/UnsafeRowWriters.java
- unsafe/src/main/java/org/apache/spark/unsafe/Platform.java 0 additions, 18 deletionsunsafe/src/main/java/org/apache/spark/unsafe/Platform.java
Please register or sign in to comment