Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SiS compatibility for SMG app #181

Merged
merged 71 commits into from
Oct 18, 2024
Merged

SiS compatibility for SMG app #181

merged 71 commits into from
Oct 18, 2024

Conversation

sfc-gh-cnivera
Copy link
Collaborator

@sfc-gh-cnivera sfc-gh-cnivera commented Oct 14, 2024

Preparing the semantic model generator to be SiS-compatible.

sfc-gh-hbrown and others added 30 commits September 24, 2024 14:08
first draft to get things running
…pdate cortex analyst msg send for oss and sis
Replace the IDE Custom Component
Fixed all libraries to current "Latest" in SiS
@@ -180,7 +180,7 @@ def _get_column_representation(
cursor = conn.cursor(DictCursor)
assert cursor is not None, "Cursor is unexpectedly None"
cursor_execute = cursor.execute(
f'select distinct "{column_name}" from "{schema_name}"."{table_name}" limit {ndv}'
f'select distinct "{column_name}" from {schema_name}.{table_name} limit {ndv}'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For now we'll remove the quotes since we are fully qualifying the schema name earlier. If we want to support quote identifiers on table and column objects, let's do that as a subsequent effort.

@sfc-gh-cnivera sfc-gh-cnivera merged commit 839f20a into main Oct 18, 2024
2 checks passed
@sfc-gh-cnivera sfc-gh-cnivera deleted the PORT_WORK branch October 18, 2024 17:50
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.

3 participants