Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30335 [Umbrella] Improvement for Hive Query Syntax Compatibility-Part2
  3. FLINK-30567

Wrong insert overwrite behavior when the table contains uppercase character with Hive dialect

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.0, 1.16.1
    • 1.17.0, 1.16.2
    • None

    Description

      If use hive dialect, the data would be wrong if we rerun the following job multiple tables.

      INSERT overwrite TABLE db_name.target_tB_name partition(p_date = '20230101')
      select 
      author_id
      from db_name.source_tb_name
      WHERE p_date = '20230101'
      and author_id <> '0'

      The framework has a minor bug when determining whether an override is required if the target name contains uppercase character.

      Attachments

        Issue Links

          Activity

            People

              luoyuxia luoyuxia
              luoyuxia luoyuxia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: