Try setting below configuration in databricks notebook, then retry. It should work. spark.conf.set("spark.jvm.class.allowlist", "spark.databricks.pyspark.enablePy4JSecurity")
Hi @Kaniz Fatma , Thank you for your response.Are you saying that "attribute" is nothing but a column name in a table?I was under impression that attribute is like a tag which we should create before using it against a table's column(s). Sharing my ...
Hi @Kaniz Fatma, I am getting below error while creating ATTRIBUTE-%sqlCREATE ATTRIBUTE pii;Output:ParseException: [PARSE_SYNTAX_ERROR] Syntax error at or near 'ATTRIBUTE'(line 1, pos 7)== SQL ==CREATE ATTRIBUTE pii-------^^^
There are 2 instances I got this error -Installing correct python package. Make sure you install "databricks.sql" module, not "databricks" module. Run below code in jupyter - %pip install databricks.sql 2. The hostname, os.getenv("DA...