Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-4558

lost 'hoodie.table.keygenerator.class' in hoodie.properties

    XMLWordPrintableJSON

Details

    Description

      I created a hudi table through flinksql and specified hoodie.datasource.write.keygenerator.type as complex, because in document, hoodie.datasource.write.keygenerator.type is "Easily configure one the built-in key generators, instead of specifying the key generator class".

      But in hoodie.properties, I did not see the property hoodie.table.keygenerator.class which is required in document.

      create table tb1(
        pk1 string,
        par2 string,
        PRIMARY KEY(pk1) NOT ENFORCED
      )
      PARTITIONED BY (`par2`)
      with (
        'connector' = 'hudi',
        'path' = '.....',
        'connector' = 'hudi',
        'hoodie.datasource.write.keygenerator.type' = 'COMPLEX',
        'table.type' = 'MERGE_ON_READ',
        'write.operation' = 'upsert'
      )
      

      hoodie.table.keygenerator.class
      Key Generator class property for the hoodie table
      Default Value: N/A (Required)
      Config Param: KEY_GENERATOR_CLASS_NAME

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wenchi wuwenchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: