GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update GetResultToSqlflow.py · sqlparser/sqlflow_public@668c7ad

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • api/python/advanced
    • GetResultToSqlflow.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎api/python/advanced/GetResultToSqlflow.py‎

Copy file name to clipboardExpand all lines: api/python/advanced/GetResultToSqlflow.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
def getResult(download, userId, token, server, port, jobId, filePath):
1111
sep = 'data' + os.sep + 'result' + os.sep
1212
filePath = filePath + '_' + jobId
13-
if download == '1':
13+
if download == 'json':
1414
url = "/gspLive_backend/sqlflow/job/exportLineageAsJson"
1515
filePath = sep + filePath + '_json.json'
16-
elif download == '3':
16+
elif download == 'graphml':
1717
url = "/gspLive_backend/sqlflow/job/exportLineageAsGraphml"
1818
filePath = sep + filePath + '_graphml.graphml'
19-
elif download == '2':
19+
elif download == 'csv':
2020
url = "/gspLive_backend/sqlflow/job/exportLineageAsCsv"
2121
filePath = sep + filePath + '_csv.csv'
2222
else:

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.