Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1552

Nulls are not handled in Sort Merge MapJoin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Query Processor
    • None

    Description

      If SMBMAPJoinOperator finds null keys in Join it fails with NullPointerException :

      Caused by: java.lang.NullPointerException
      	at org.apache.hadoop.io.IntWritable.compareTo(IntWritable.java:60)
      	at org.apache.hadoop.io.WritableComparator.compare(WritableComparator.java:115)
      	at org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator.compareKeys(SMBMapJoinOperator.java:389)
      	at org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator.processKey(SMBMapJoinOperator.java:438)
      	at org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator.processOp(SMBMapJoinOperator.java:205)
      	at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:458)
      	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:698)
      	at org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:45)
      	at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:458)
      	at org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator.fetchOneRow(SMBMapJoinOperator.java:479)
      	... 17 more
      

      Attachments

        Issue Links

          Activity

            People

              amareshwari Amareshwari Sriramadasu
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: