Venkata krishnan Sowrirajan created DRILL-1605: --------------------------------------------------
Summary: Sqlline JVM crashes if we query a directory of json files having different schemas. Key: DRILL-1605 URL: https://issues.apache.org/jira/browse/DRILL-1605 Project: Apache Drill Issue Type: Bug Components: Client - JDBC Affects Versions: 0.6.0 Reporter: Venkata krishnan Sowrirajan This "json" directory has 2 json files. If the 2 json files have different schemas not the same structure, sqlline JVM crashes. I tried copying the same file with different name and tried querying that worked fine. select * from `json`; # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f9bb418c425, pid=4858, tid=140307876988672 # # JRE version: OpenJDK Runtime Environment (7.0_65-b17) (build 1.7.0_65-mockbuild_2014_07_16_06_06-b00) # Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops) # Problematic frame: # J 544 C2 sqlline.SqlLine$Rows$Row.<init>(Lsqlline/SqlLine$Rows;ILjava/sql/ResultSet;)V (218 bytes) @ 0x00007f9bb418c425 [0x00007f9bb418bfc0+0x465] # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /tmp/jvm-4858/hs_error.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # Aborted -- This message was sent by Atlassian JIRA (v6.3.4#6332)