Skip to content

Commit

Permalink
Merge pull request #421 from FederatedAI/feature-1.11.0
Browse files Browse the repository at this point in the history
Feature 1.11.0
  • Loading branch information
zhihuiwan authored Apr 7, 2023
2 parents 7726174 + 0cc2b37 commit 91d1914
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
11 changes: 11 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
51 changes: 51 additions & 0 deletions doc/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/fate_flow/apps/table_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91d1914

Please sign in to comment.