[
https://issues.apache.org/jira/browse/FLINK-38066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Li updated FLINK-38066:
---------------------------
Description:
# `build-target/bin/start-cluster.sh` from 2.1 branch build to start Flink
cluster
# `build-target/bin/sql-client.sh` from 2.1 branch build to start Sql client
# Execute model CRUD command
h3. Create model
{code:java}
CREATE MODEL test_model
INPUT (i STRING)
OUTPUT (o DOUBLE)
WITH (
'provider' = 'openai'
);
{code}
h3. Show models
{code:java}
SHOW MODELS;{code}
h3. Describe model
{code:java}
DESCRIBE MODEL test_model;{code}
h3. Alter model
{code:java}
ALTER MODEL test_model SET ('provider'='abc');{code}
{code:java}
ALTER MODEL test_model RESET ('provider');{code}
{code:java}
alter model test_model rename to test_model1;{code}
h3. Show create model
{code:java}
SHOW CREATE MODEL test_model;{code}
h3. Drop model
{code:java}
DROP MODEL test_model;{code}
was:
# `build-target/bin/start-cluster.sh` from 2.1 branch build to start Flink
cluster
# `build-target/bin/sql-client.sh` from 2.1 branch build to start Sql client
# Execute model CRUD command
h3. Create model
{code:java}
CREATE MODEL test_model
INPUT (i STRING)
OUTPUT (o DOUBLE)
WITH (
'provider' = 'openai'
);
{code}
h3. Show models
{code:java}
SHOE MODELS;{code}
h3. Describe model
{code:java}
DESCRIBE MODEL test_model;{code}
h3. Alter model
{code:java}
ALTER MODEL test_model SET ('provider'='abc');{code}
{code:java}
ALTER MODEL test_model RESET ('provider');{code}
{code:java}
alter model test_model rename to test_model1;{code}
h3. Show create model
{code:java}
SHOW CREATE MODEL test_model;{code}
h3. Drop model
{code:java}
DROP MODEL test_model;{code}
> Release Testing: Verify FLIP-437: Support ML Models in Flink SQL
> ----------------------------------------------------------------
>
> Key: FLINK-38066
> URL: https://issues.apache.org/jira/browse/FLINK-38066
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Hao Li
> Assignee: Hao Li
> Priority: Major
> Labels: release-testing
>
> # `build-target/bin/start-cluster.sh` from 2.1 branch build to start Flink
> cluster
> # `build-target/bin/sql-client.sh` from 2.1 branch build to start Sql client
> # Execute model CRUD command
> h3. Create model
>
> {code:java}
> CREATE MODEL test_model
> INPUT (i STRING)
> OUTPUT (o DOUBLE)
> WITH (
> 'provider' = 'openai'
> );
> {code}
>
> h3. Show models
> {code:java}
> SHOW MODELS;{code}
>
> h3. Describe model
> {code:java}
> DESCRIBE MODEL test_model;{code}
> h3. Alter model
> {code:java}
> ALTER MODEL test_model SET ('provider'='abc');{code}
> {code:java}
> ALTER MODEL test_model RESET ('provider');{code}
> {code:java}
> alter model test_model rename to test_model1;{code}
> h3. Show create model
> {code:java}
> SHOW CREATE MODEL test_model;{code}
> h3. Drop model
> {code:java}
> DROP MODEL test_model;{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)