Skip to content

[To dev/1.3] Honor auto-create-schema settings for tree LOAD - #19181

Open
Caideyipi wants to merge 2 commits into
apache:dev/1.3from
Caideyipi:cp-a61e5bdddc-tree-dev13
Open

Caideyipi wants to merge 2 commits into
apache:dev/1.3from
Caideyipi:cp-a61e5bdddc-tree-dev13

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport the tree-model portion of #19128, commit a61e5bd, to dev/1.3.

Tree LOAD now honors the request and global auto-create-schema policy during database/schema checks, async handoff, and tablet conversion, including query fallback and normal/template schema creation. Failed LOAD retains its source files when schema creation is disabled.

Compatibility

  • Based on dev/1.3 at ba13298; adapts the verifier and fallback changes to the existing 1.3 analyzer/scheduler layout and TsFile 1.1 APIs.
  • Uses an internal SessionInfo policy carrier for conversion. Existing constructors retain their defaults and the session wire format is preserved. Client/session configuration APIs are outside this backport.
  • Includes only tree-model code and regression scenarios. Declares the existing PowerMock reflection dependency directly for the ported tests.

Validation

  • Spotless formatting and whitespace checks passed.
  • Full reactor compilation/package passed in English and with with-zh-locale.
  • 36 focused unit tests passed with zero skipped tests.
  • IoTDBLoadTsFileIT#testQueryFallbackHonorsDisabledSchemaCreation passed under both SimpleIT (1C1D) and ClusterIT (1C3D), with zero skipped tests.
  • Source dependencies were rebuilt from the matching revision in an isolated Maven repository.

Backport the tree-model portion of apache#19128 to dev/1.3.

Adapt schema verification and fallback to the 1.3 loader layout. Carry the
LOAD schema-creation policy through internal session info without adding
client-session configuration APIs.

(cherry picked from commit a61e5bd)
Resolve EN/ZH message constant additions by preserving both sides. Keep the LOAD schema policy changes and the target branch source cleanup behavior.
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.

1 participant