morphsql / MODEL_CARD.md
waghelad's picture
Upload folder using huggingface_hub
12eff8e verified
|
Raw
History Blame Contribute Delete
1.16 kB

A newer version of the Gradio SDK is available: 6.22.0

Upgrade
metadata
language: en
license: apache-2.0
library_name: morphsql
pipeline_tag: text-classification
tags:
  - morphsql
  - agent
  - code
  - sql
  - text-generation
  - text-classification
  - rag
  - sklearn
  - migration
  - dbt
  - snowflake
datasets:
  - dgvj-work/vertica-snowflake-pairs

MorphSQL

Convert Vertica / Oracle / Redshift / BigQuery SQL to pandas, PySpark, Snowflake, BigQuery, or dbt.

Brand: MorphSQL · Package import: morphsql · Hub slug: dgvj-work/morphsql

Artifacts

  • risk_classifier.joblib — migration risk (low / medium / high)
  • rewrite_vocabulary.json — rewrite lexicon
  • config.json — dialect metadata

Quick start

from morphsql.ai import pipeline

print(pipeline("sql-migration")("SELECT COALESCE(a, 0) FROM t", source="snowflake", target="pandas"))
print(pipeline("sql-migration")("SELECT COALESCE(a, 0) FROM t", source="snowflake", target="pyspark"))
print(pipeline("sql-risk-classification")("EXECUTE IMMEDIATE 'x'"))

Demo

https://huggingface.co/spaces/dgvj-work/morphsql

Author: Digvijay Waghela · Apache-2.0