diff --git a/RELEASE.md b/RELEASE.md index 51c61e66a..758fc0e9f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,14 @@ +# Release 1.11.0 +## Major Features and Improvements +* Add data table preview query interface + +## Bug Fixes +* Fix the performance problems of upload and reader in processing large amounts of data +* Fix online reasoning cannot be done after model migration bug +* Fix the model cannot be saved to the specified database bug +* Fix reader data preview display bug + + # Release 1.10.1 ## Major Features and Improvements * Optimize table info API diff --git a/doc/swagger/swagger.yaml b/doc/swagger/swagger.yaml index e84b5955e..0855feb68 100644 --- a/doc/swagger/swagger.yaml +++ b/doc/swagger/swagger.yaml @@ -732,6 +732,57 @@ paths: type: string example: no find table + '/table/preview': + post: + summary: table data preview + tags: + - table + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - name + - namespace + properties: + name: + type: string + example: "guest" + namespace: + type: string + example: "data" + responses: + '200': + description: get preview table success + content: + application/json: + schema: + type: object + properties: + retcode: + type: integer + example: 0 + retmsg: + type: string + example: success + data: + type: object + '404': + description: no found table + content: + application/json: + schema: + type: object + properties: + retcode: + type: integer + example: 210 + retmsg: + type: string + example: no find table + '/job/submit': post: summary: submit job diff --git a/python/fate_flow/apps/table_app.py b/python/fate_flow/apps/table_app.py index 9a226e729..54f2248fb 100644 --- a/python/fate_flow/apps/table_app.py +++ b/python/fate_flow/apps/table_app.py @@ -158,7 +158,7 @@ def table_download(): ) -@manager.route('/preview', methods=['get']) +@manager.route('/preview', methods=['post']) def table_data_preview(): request_data = request.json from fate_flow.component_env_utils.env_utils import import_component_output_depend