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

Optimize the redundant creation of HoodieTable in DataSourceInternalWriterHelper and the unnecessary parameters in createTable within BaseHoodieWriteClient.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • None

    Description

      In the initialization method of DataSourceInternalWriterHelper, it currently creates two identical HoodieTable instances. We should remove one of them. Also, when comparing the differences between the two HoodieTable instances, I noticed that the createTable method in BaseHoodieWriteClient includes a HadoopConfiguration parameter that isn't used by any implemented methods. I'm not sure why it was designed this way, but I think we can remove it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              majian Ma Jian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: