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

Json operators support #8895

Merged
merged 3 commits into from Mar 18, 2024
Merged

Json operators support #8895

merged 3 commits into from Mar 18, 2024

Conversation

ea-rus
Copy link
Contributor

@ea-rus ea-rus commented Mar 7, 2024

Description

Changes:

  • updated mindsdb_sql version
  • serialize to json columns in information_schema to make duckdb able to use json operators

Examples of usage:

Mindsdb project

    select training_options->'using'->'model_name' from models

Postgres database

    select data->"using"->'prompt_template' from  my_pg.aaa

Depends on: mindsdb/mindsdb_sql#359

Fixes mindsdb/mindsdb_sql#353

Type of change

  • ⚡ New feature (non-breaking change which adds functionality)

Verification Process

To ensure the changes are working as expected:

  • Test Location: Specify the URL or path for testing.
  • Verification Steps: Outline the steps or queries needed to validate the change. Include any data, configurations, or actions required to reproduce or see the new functionality.

Additional Media:

  • I have attached a brief loom video or screenshots showcasing the new functionality or change.

Checklist:

  • My code follows the style guidelines(PEP 8) of MindsDB.
  • I have appropriately commented on my code, especially in complex areas.
  • Necessary documentation updates are either made or tracked in issues.
  • Relevant unit and integration tests are updated or added.

@ea-rus ea-rus requested a review from StpMax March 14, 2024 13:03
conflicts: information_schema_datanode.py
@ea-rus ea-rus merged commit a5c0efc into staging Mar 18, 2024
11 checks passed
@StpMax StpMax mentioned this pull request Mar 19, 2024
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.

Json syntax support
2 participants