@Nguyen Huu Minh Tri (UTOP.PROD) This step can be used if you are looking to use the output of this step as input to another step, The output is the result of kusto queries run based on the configuration of this step. There is a sample notebook that is available in the azure ML notebook github repo for reference. This should be the sequence of running the step and using the output with another step.
database_name = "<database_name>" # Name of the database to perform Kusto queries on
query_directory = "<query_directory>" # Path to folder that contains a text file with Kusto queries
kustoStep = KustoStep(
name='KustoNotebook',
compute_target=compute_name,
database_name=database_name,
query_directory=query_directory,
output=step_1_output,
)
step2_input = step_1_output.as_input("input_data")
step2 = PythonScriptStep(name="train_step",
script_name="train.py",
inputs=[step2_input],
arguments=['--input_data', step2_input],
compute_target='cpu_cluster',
source_directory='./train',
allow_reuse=True)
steps = [kustoStep, step2]
If an answer is helpful, please click on or upvote which might help other community members reading this thread.