[ 
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}
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}
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

```

CREATE MODEL test_model

INPUT (i STRING)

OUTPUT (o DOUBLE)

WITH (

  'provider' = 'openai'

);

```
h3. Show models

```

SHOE MODELS;

```
h3. Describe model

```

DESCRIBE MODEL test_model;

```
h3. Alter model

```

ALTER MODEL test_model SET ('provider'='abc');

```
h3. Show create model

```

SHOW CREATE MODEL test_model;

```
h3. Drop model

```

DROP MODEL test_model;

```


> 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
>            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}
> 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}
> 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)

Reply via email to