Skip to content

#AI commit# [fix][PES][datasource] fix DB2 schema query to use correc…#5440

Merged
casionone merged 1 commit into
masterfrom
dev-2.0.0
Jun 11, 2026
Merged

#AI commit# [fix][PES][datasource] fix DB2 schema query to use correc…#5440
casionone merged 1 commit into
masterfrom
dev-2.0.0

Conversation

@aiceflower

Copy link
Copy Markdown
Member

…t SQL instead of invalid command (#5409)

  • Fix getAllDatabases() method in DB2 SqlConnection classes
  • Replace invalid "list database directory" command with proper SQL query
  • Add configurable schema query SQL with default filtering system schemas
  • Query SYSCAT.SCHEMATA to get actual schema list from DB2

What is the purpose of the change

EngineConn-Core defines the the abstractions and interfaces of the EngineConn core functions.
The Engine Service in Linkis 0.x is refactored, EngineConn will handle the engine connection
and session management.

Related issues/PRs

Related issues: close #590 close #591
Related pr:#591

Brief change log

  • Define the core abstraction and interfaces of the EngineConn Factory;
  • Define the core abstraction and interfaces of Executor Manager.

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

…t SQL instead of invalid command (#5409)

- Fix getAllDatabases() method in DB2 SqlConnection classes
- Replace invalid "list database directory" command with proper SQL query
- Add configurable schema query SQL with default filtering system schemas
- Query SYSCAT.SCHEMATA to get actual schema list from DB2

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

@casionone casionone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@casionone casionone merged commit 7411859 into master Jun 11, 2026
15 of 22 checks passed
@casionone casionone deleted the dev-2.0.0 branch June 11, 2026 07:43
aiceflower added a commit to aiceflower/linkis that referenced this pull request Jun 15, 2026
…t SQL instead of invalid command (apache#5409) (apache#5440)

- Fix getAllDatabases() method in DB2 SqlConnection classes
- Replace invalid "list database directory" command with proper SQL query
- Add configurable schema query SQL with default filtering system schemas
- Query SYSCAT.SCHEMATA to get actual schema list from DB2

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
aiceflower added a commit to aiceflower/linkis that referenced this pull request Jun 15, 2026
…t SQL instead of invalid command (apache#5409) (apache#5440)

- Fix getAllDatabases() method in DB2 SqlConnection classes
- Replace invalid "list database directory" command with proper SQL query
- Add configurable schema query SQL with default filtering system schemas
- Query SYSCAT.SCHEMATA to get actual schema list from DB2

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
aiceflower added a commit to WeDataSphere/linkis that referenced this pull request Jun 15, 2026
…t SQL instead of invalid command (apache#5409) (apache#5440)

- Fix getAllDatabases() method in DB2 SqlConnection classes
- Replace invalid "list database directory" command with proper SQL query
- Add configurable schema query SQL with default filtering system schemas
- Query SYSCAT.SCHEMATA to get actual schema list from DB2

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
aiceflower added a commit to WeDataSphere/linkis that referenced this pull request Jun 16, 2026
…t SQL instead of invalid command (apache#5409) (apache#5440)

- Fix getAllDatabases() method in DB2 SqlConnection classes
- Replace invalid "list database directory" command with proper SQL query
- Add configurable schema query SQL with default filtering system schemas
- Query SYSCAT.SCHEMATA to get actual schema list from DB2

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants