Skip to content

Wrong table created when storing prediction into Hive (Local XGBoost model mode) #755

@BlackPoint-CX

Description

@BlackPoint-CX

Description
When using local XGBoost model to make prediction, the claimed prediction table can not be created correctly.

Reproduction Steps

%%sqlflow 

SELECT *
FROM datamap_test.iris_test
PREDICT datamap_test.iris_xgb_predict
WITH
	pred.append_columns = [sepal_length, sepal_width, petal_length, petal_width],
	pred.prob_column = prob,
	pred.detail_column = detail,
	pred.encoding_column = encoding
USING datamap_test.iris_xgb_model;

Expected Behavior
It should create table iris_xgb_predict in database datamap_test which the prediction should be stored into. However it created table datamap_test.datamap_test.

Screenshots
image

Environment (Please complete the following information):

  • OS:
  • Browser:
  • Version:

Additional Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiDiThe issue publisher is from Didi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions