/sqlflow/graph
Last updated
Last updated
Return the data lineage image file for the given SQL file.
Sample response:
Check our blog https://www.dpriver.com/blog/2023/03/23/visualize-your-data-with-sqlflow-rest-api/ for more details about this endpoint.
generate sqlflow graph
/sqlflow/generation/sqlflow/graph
columnLevel
database vendor
dbvazuresql
, dbvbigquery
, dbvcouchbase
, dbvdb2
, dbvgreenplum
, dbvhana
, dbvhive
, dbvimpala
, dbvinformix
, dbvmdx
, dbvmysql
, dbvnetezza
, dbvopenedge
, dbvoracle
, dbvpostgresql
, dbvredshift
, dbvsnowflake
, dbvmssql
, dbvsparksql
, dbvsybase
, dbvteradata
, dbvvertica
whether hide column
false
ignore function
false
simple output, ignore the intermediate results, defualt is false.
false
same as simpleOutput, but will keep output of the top level select list, default is false.
false
give the job Id if need to use the job settings and display the job graph
whether normalize the Identifier
whether show constant table
whether show link only
show relation type, required false, default value is 'fdd', multiple values seperated by comma like fdd,frd,fdr,join. Availables are 'fdd' value of target column from source column, 'frd' the recordset count of target column which is affected by value of source column, 'fdr' value of target column which is affected by the recordset count of source column, 'join' combines rows from two or more tables, based on a related column between them
whether show transform
sql text from which to generate the sqlflow model
The token is generated from userid and usersecret. It is used in every Api invocation.
Whether treat the arguments in COUNT function as direct Dataflow
the user id of sqlflow web or client
sqlfile
generate sqlflow graph image
/sqlflow/generation/sqlflow/graph/image
columnLevel
database vendor
dbvazuresql
, dbvbigquery
, dbvcouchbase
, dbvdb2
, dbvgreenplum
, dbvhana
, dbvhive
, dbvimpala
, dbvinformix
, dbvmdx
, dbvmysql
, dbvnetezza
, dbvopenedge
, dbvoracle
, dbvpostgresql
, dbvredshift
, dbvsnowflake
, dbvmssql
, dbvsparksql
, dbvsybase
, dbvteradata
, dbvvertica
whether hide column
false
ignore function
false
simple output, ignore the intermediate results, defualt is false.
false
same as simpleOutput, but will keep output of the top level select list, default is false.
false
give the job Id if need to use the job settings and display the job graph
whether normalize the Identifier
whether show constant table
whether show link only
show relation type, required false, default value is 'fdd', multiple values seperated by comma like fdd,frd,fdr,join. Availables are 'fdd' value of target column from source column, 'frd' the recordset count of target column which is affected by value of source column, 'fdr' value of target column which is affected by the recordset count of source column, 'join' combines rows from two or more tables, based on a related column between them
whether show transform
sql text from which to generate the sqlflow model
The token is generated from userid and usersecret. It is used in every Api invocation.
Whether treat the arguments in COUNT function as direct Dataflow
the user id of sqlflow web or client
sqlfile