Hello @Gerald Reif ,
(UPDATE: 21/4/2022): As per the repro, when I tried the same using Apache Spark SQL, got the same error message. I'm working with the internal team to identify how to pass the base parameters in Apache Spark SQL notebooks. Meanwhile, you can use the below workaround.
Workaround: I had tried to use parameter for db_name using Apache Pyspark and worked as excepted:
Notebook:
Pipeline Activity with base parameter:
** Pipeline worked as excepted:**
------------------------------------------------
Thanks for the question and using MS Q&A platform.
Error: When I tried to use parameter for db name as
SET db_name = 'default';
, withsingle quotes
it throws the same error as shown above.
**Success: ** When I tried to use parameter for db name as
SET db_name = default;
withoutsingle quotes
it works as excepted.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators