spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Assigned] (SPARK-25307) ArraySort function may return a error in the code generation phase.
Date Sun, 02 Sep 2018 04:09:00 GMT


Apache Spark reassigned SPARK-25307:

    Assignee: Apache Spark

> ArraySort function may return a error in the code generation phase.
> -------------------------------------------------------------------
>                 Key: SPARK-25307
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Dilip Biswal
>            Assignee: Apache Spark
>            Priority: Major
> Sorting array of booleans (not nullable) returns a compilation error in the code generation
phase. Below is the compilation error :
> {code:java}
> java.util.concurrent.ExecutionException: org.codehaus.commons.compiler.CompileException:
File '', Line 51, Column 23: failed to compile: org.codehaus.commons.compiler.CompileException:
File '', Line 51, Column 23: No applicable constructor/method found for actual
parameters "boolean[]"; candidates are: "public static void java.util.Arrays.sort(long[])",
"public static void java.util.Arrays.sort(long[], int, int)", "public static void java.util.Arrays.sort(byte[],
int, int)", "public static void java.util.Arrays.sort(float[])", "public static void java.util.Arrays.sort(float[],
int, int)", "public static void java.util.Arrays.sort(char[])", "public static void java.util.Arrays.sort(char[],
int, int)", "public static void java.util.Arrays.sort(short[], int, int)", "public static
void java.util.Arrays.sort(short[])", "public static void java.util.Arrays.sort(byte[])",
"public static void java.util.Arrays.sort(java.lang.Object[], int, int, java.util.Comparator)",
"public static void java.util.Arrays.sort(java.lang.Object[], java.util.Comparator)", "public
static void java.util.Arrays.sort(int[])", "public static void java.util.Arrays.sort(java.lang.Object[],
int, int)", "public static void java.util.Arrays.sort(java.lang.Object[])", "public static
void java.util.Arrays.sort(double[])", "public static void java.util.Arrays.sort(double[],
int, int)", "public static void java.util.Arrays.sort(int[], int, int)"
> 	at$Sync.getValue(
> 	at$Sync.get(
> 	at
> 	at
> 	at$Segment.getAndRecordStats(
> 	at$Segment.loadSync(
> 	at$Segment.lockedGetOrLoad(
> 	at$Segment.get(
> 	at
> 	at
> 	at$LocalLoadingCache.get(
> 	at org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator$.compile(CodeGenerator.scala:1305)
>  {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message