Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2024 01:17 AM
Hi,
Thanks for your answer, actually I wrote a piece of code like:
from databricks.connect import DatabricksSession
spark = DatabricksSession.builder.getOrCreate()
But I still have this error:
ImportError: cannot import name 'AnalyzeArgument' from 'pyspark.sql.udtf' (/Users/Library/Caches/pypoetry/virtualenvs/rnc-data-pipelines-Jgi6KLI_-py3.13/lib/python3.13/site-packages/pyspark/sql/udtf.py)
Do u know how to fix this? And For debugging the cells I need to execute the notebook in a proper way?