JohnSnowLabs/spark-nlp-workshop

NameError: name 'Text2SQLSchemaParser' is not defined

surajjkumar opened this issue · 1 comments

NameError: name 'Text2SQLSchemaParser' is not defined

Description

When calling the prepare_db_schema function, I got the error:
NameError: name 'Text2SQLSchemaParser' is not defined

Steps to Reproduce

schema_json_path = 'schema_converted.json'
output_json_path = "db_embeddings.json"

prepare_db_schema(schema_json_path, output_json_path)

image

  • Spark-NLP version: 3.3.0
  • Apache Spark version: 3.0.0
  • Operating System and version: Windows 10
  • Deployment (Docker, Jupyter, Scala, pip, conda, etc.): Colaboratory(jupyter notebook)

Text2SQL annotator is deprecated with v3.0.0 and will not be maintained going forward. We are working on a better and faster version of Text2SQL at the moment and will announce it soon.

https://nlp.johnsnowlabs.com/docs/en/licensed_release_notes#deprecated