Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21354

INPUT FILE related functions do not support more than one sources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.2, 2.1.1, 2.2.0
    • 2.3.0
    • SQL
    • None

    Description

      hive> select *, INPUT__FILE__NAME FROM t1, t2;
      FAILED: SemanticException Column INPUT__FILE__NAME Found in more than One Tables/Subqueries
      

      The build-in functions input_file_name, input_file_block_start, input_file_block_length do not support more than one sources, like what Hive does. Currently, we do not block it and the outputs are ambiguous.

      Attachments

        Activity

          People

            smilegator Xiao Li
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: