-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
302 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"flow": { | ||
"name": "", | ||
"uid": "", | ||
"param": { | ||
|
||
} }, | ||
"nodes": [ | ||
{ | ||
"id": "FakerInput", | ||
"name": "read1", | ||
"type": "input", | ||
"properties": { | ||
"rows":0, | ||
"columns": ["name","address","city","street_address","date_of_birth","phone_number"], | ||
"randoms":[ | ||
{"key":"sex","values":["男","女","未知"]} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "Console", | ||
"name": "write1", | ||
"type": "output", | ||
"properties": { | ||
"row": 100 | ||
} | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"startId": "read1", | ||
"endId": "write1" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"flow": { | ||
"name": "", | ||
"uid": "", | ||
"param": { | ||
} | ||
}, | ||
"nodes": [ | ||
{ | ||
"id": "ParquetInput", | ||
"name": "read1", | ||
"type": "input", | ||
"properties": { | ||
"file_name": "a.parquet" | ||
} | ||
}, | ||
{ | ||
"id": "Samples", | ||
"name": "samples", | ||
"type": "input", | ||
"properties": { | ||
"sample_size": 50 | ||
} | ||
}, | ||
{ | ||
"id": "Rename", | ||
"name": "rename", | ||
"type": "input", | ||
"properties": { | ||
"excludes": [] | ||
} | ||
},{ | ||
"id": "Function", | ||
"name": "trans", | ||
"type": "input", | ||
"properties": { | ||
"columns": [ | ||
{"key": "content", "function": "empty()"} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "DorisOutput", | ||
"name": "out", | ||
"type": "translate", | ||
"properties": { | ||
"fe_host": "192.168.199.2", | ||
"fe_query_port": "9030", | ||
"fe_http_port": "8040", | ||
"username": "root", | ||
"password": "doris_new_passwd", | ||
"db": "test", | ||
"table":"news_record" | ||
} | ||
} | ||
|
||
], | ||
"edges": [ | ||
{ | ||
"startId": "read1", | ||
"endId": "samples" | ||
},{ | ||
"startId": "samples", | ||
"endId": "trans" | ||
},{ | ||
"startId": "trans", | ||
"endId": "rename" | ||
},{ | ||
"startId": "rename", | ||
"endId": "out" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ def read_file(filename): | |
setup( | ||
# 基本信息 | ||
name="NiceFlow", # 项目名,确定唯一,不然上传 pypi 会失败 | ||
version="0.0.5", # 项目版本 | ||
version="0.0.7", # 项目版本 | ||
author='BleethNie', # 开发者 | ||
author_email='[email protected]', # 开发者邮箱 | ||
description='ETL数据处理/数据迁移/数据分析工具', # 摘要描述 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
|
||
def print_hello(content) -> str: | ||
return "hello:" + str(content) | ||
|
||
def empty() -> str: | ||
return "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.