Notebook code to retrieve spark pool tags

Nathan 1 Reputation point
2022-09-04T17:41:22.363+00:00

When running a Pyspark notebook interactively or in a pipeline, how to retrieve the Spark Pool tags? Please provide code example. Thx

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,566 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 83,301 Reputation points Microsoft Employee
    2022-09-19T06:42:38.457+00:00

    Hello @Nathan ,

    Unfortunately, there is no spark commad which gives the Spark pool tags in your notebook.

    For alternative method, you can checkout the SO thread: https://stackoverflow.com/questions/73601576/azure-synapse-notebook-code-to-retrieve-spark-pool-tags

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png 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 junotification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators
    0 comments No comments