[v11.0.x] Expressions+Testdata: Create json schema for query types (#86164)
Expressions: Create json schema for query types (#84032)
(cherry picked from commit 4cda34ff7d)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
co-authored by
Ryan McKinley
parent
0a95bcb6bd
commit
9744f081fc
@@ -26,7 +26,7 @@ func (s *Service) handleCsvContentScenario(ctx context.Context, req *backend.Que
|
||||
return nil, fmt.Errorf("failed to parse query json: %v", err)
|
||||
}
|
||||
|
||||
csvContent := model.CSVContent
|
||||
csvContent := model.CsvContent
|
||||
if len(csvContent) == 0 {
|
||||
return backend.NewQueryDataResponse(), nil
|
||||
}
|
||||
@@ -63,7 +63,7 @@ func (s *Service) handleCsvFileScenario(ctx context.Context, req *backend.QueryD
|
||||
return nil, fmt.Errorf("failed to parse query json %v", err)
|
||||
}
|
||||
|
||||
fileName := model.CSVFileName
|
||||
fileName := model.CsvFileName
|
||||
|
||||
if len(fileName) == 0 {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user