MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.18k stars 21.31k forks source link

Why is the result of my operation like this? #39102

Closed guizi1991 closed 4 years ago

guizi1991 commented 4 years ago

Code: localrun.DoRun(); result output: 9/18/2019 1:21:02 AM: COMPILATIONTIME|JobId:|FriendlyName:|Mode:Deep|Overall: 0.7s 1.0cpu 9/18/2019 1:21:02 AM: FrontEndTimers 9/18/2019 1:21:02 AM: RoslynTimers 9/18/2019 1:21:02 AM: OptimizerTimers 9/18/2019 1:21:02 AM: BackendTimers 9/18/2019 1:21:02 AM: ExternalTimers

After debugging, I found out : localrun.DoRun() == false ; 1.I did not capture any exception information;

  1. U-SQL scripts are not being run Thanks, waiting for your reply!
PramodValavala-MSFT commented 4 years ago

@guizi1991 Could you please share the doc that you are referring to?

guizi1991 commented 4 years ago

localrun.ScriptPath = @"C:\Users\v-donl\source\repos\Script\Script.usql";

Script.usql document content : DECLARE @in string = "test.csv"; DECLARE @out string = "/output/SearchLog-scalar-variables.csv"; DECLARE @filename = "SearchLog"; DECLARE @DeptID bool = false;

@searchlog = EXTRACT UserId int, Start DateTime, Region string, Query string, Duration int?, Urls string, ClickedUrls string FROM @in USING Extractors.Tsv();

OUTPUT @searchlog
TO @out USING Outputters.Csv();

guizi1991 commented 4 years ago

1.I did not capture any exception information;

  1. U-SQL scripts are not being run
PramodValavala-MSFT commented 4 years ago

@guizi1991 This repo is for addressing documentation feedback. If there isn't a specific doc that you are referring to, its best to ask your query on the appropriate forum on MSDN or StackOverflow.

PramodValavala-MSFT commented 4 years ago

@guizi1991 Since there is no doc feedback to address here, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Also, please feel free to open an issue on the specific doc that you are referring to by providing feedback at the bottom of that page.