Search code examples
azure-data-exploreradx

Kusto functions migration to upper environment


I have several functions on the dev ADX environment. Now I need to migrate all of them into upper environment. Is there any handy commands to export all available functions from one environment to another. I tried to export all functions as csv after running .show functions command. But could not find any way to import this csv file to another environment.


Solution

  • The following command will produce you a csl script that will recreate all your tables, functions etc.: .show database schema as csl script - just go over its output and take only what you need.