Skip to content

Commit 6cc20b6

Browse files
authored
Update json_output_objects_coordinate.md
1 parent e027087 commit 6cc20b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

json_output_objects_coordinate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ When the sqlflow analyzing sql has been finished, it recorded some sql informati
66
```java
77
public class SqlInfo {
88
private String fileName;
9+
private String filePath;
910
private String sql;
1011
private int originIndex;
1112
private int index;
@@ -70,12 +71,14 @@ Sqlflow provides a tool class gudusoft.gsqlparser.dlineage.util.SqlInfoHelper, w
7071
```java
7172
public class DbObjectPosition {
7273
private String file;
74+
private String filePath;
7375
private String sql;
7476
private int index;
7577
private List<Pair<Integer, Integer>> positions = new ArrayList<Pair<Integer, Integer>>();
7678
}
7779
```
7880
* file field matches the sql file name.
81+
* filePath file full path.
7982
* sql field matches the sql content.
8083
* index:
8184
* If the sql file is from `grabit`, it's a json file, and it has an json array named "query", the value of index field is the query item index.

0 commit comments

Comments
 (0)