Fix selecting mixed-case objects#11889
Conversation
- the name should be matched (quoted or not) for lower cases databases: - can be used mixed case query if it is not quoted
|
🔒 Entelligence AI Vulnerability Scanner ✅ No security vulnerabilities found! Your code passed our comprehensive security analysis. 📊 Files Analyzed: 2 files |
Review Summary🏷️ Draft Comments (4)
|
|
|
||
| if part in self.databases: | ||
| database = part | ||
| parts.pop(0) |
There was a problem hiding this comment.
will be good also pop node.is_quoted, to keep node consistent
There was a problem hiding this comment.
no, parts is copy of node.parts, we can't change node.is_quoted
rolled it back
If database was created with quotes (it is stored in mixed case):
If database was create without quotes
Fixes https://linear.app/mindsdb/issue/FQE-1745/datasource-created-with-camelcase-cant-be-joined
Type of change
Verification Process
To ensure the changes are working as expected:
Additional Media:
Checklist: