Skip to content

Conversation

@xushiyan
Copy link
Member

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

DataSourceWriteOptions.HIVE_SKIP_RO_SUFFIX_FOR_READ_OPTIMIZED_TABLE().defaultValue()));
hiveSyncConfig.supportTimestamp = Boolean.valueOf(props.getString(DataSourceWriteOptions.HIVE_SUPPORT_TIMESTAMP_TYPE().key(),
DataSourceWriteOptions.HIVE_SUPPORT_TIMESTAMP_TYPE().defaultValue()));
hiveSyncConfig.isConditionalSync = Boolean.valueOf(props.getString(DataSourceWriteOptions.HIVE_CONDITIONAL_SYNC().key(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is the config used?

Copy link
Member Author

@xushiyan xushiyan Dec 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leesf this config was introduced in #3053
but we need to be able to set it via writer like delta streamer

Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we might need to fix

public static HiveSyncConfig buildHiveSyncConfig(TypedProperties props, String basePath, String baseFileFormat) {

@nsivabalan nsivabalan self-assigned this Dec 28, 2021
@nsivabalan nsivabalan added the priority:critical Production degraded; pipelines stalled label Jan 4, 2022
@xushiyan
Copy link
Member Author

xushiyan commented Jan 6, 2022

buildHiveSyncConfig

@nsivabalan This is the changed in the patch already, right?

On a separate note, do you think we should still include this in 0.10.1 given it adds a new config? So it's a matter of whether we should include a new config to fix something in the minor release.

@nsivabalan
Copy link
Contributor

I am ok adding it. I am seeing this as, filling in a gap we had previously. I understand, it is debatable whether to consider as bug fix or not. but I feel, we can add it.

@nsivabalan
Copy link
Contributor

Ocne you rebase and CI succeeds, I can land this in

@xushiyan xushiyan force-pushed the HUDI-3100-conditional-sync-config branch from b4f66ea to d8b50f3 Compare January 6, 2022 19:27
@hudi-bot
Copy link
Collaborator

hudi-bot commented Jan 6, 2022

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@xushiyan xushiyan merged commit 2467c13 into apache:master Jan 7, 2022
@xushiyan xushiyan deleted the HUDI-3100-conditional-sync-config branch January 7, 2022 07:26
@xushiyan xushiyan removed the priority:critical Production degraded; pipelines stalled label Jan 11, 2022
@vinishjail97 vinishjail97 mentioned this pull request Jan 24, 2022
5 tasks
vingov pushed a commit to vingov/hudi that referenced this pull request Jan 26, 2022
liusenhua pushed a commit to liusenhua/hudi that referenced this pull request Mar 1, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants