Re: Re: Re: Re: Re: Can a Table Created in Java Code be Queried Using SQL Client?

2025-01-07 Thread Vinay Agarwal
: > What about using "./bin/start-cluster.sh -Dtable.catalog-store.kind=file > -Dtable.catalog-store.file.path=/Users/vagarwal/tmp/flink/store/" to start > sql client? > > > -- > Best! > Xuyang > > > 在 2025-01-07 00:30:19,"Vinay Agarwal" 写道: > &g

Can a Table Created in Java Code be Queried Using SQL Client?

2024-12-26 Thread Vinay Agarwal
Hello, I am looking for an elaboration, or work around, of an old answer to this question here ( https://stackoverflow.com/questions/56049472/create-sql-table-from-a-datastream-in-a-java-scala-program-and-query-it-from-sql) which mentions that registering the table can make it visible to the SQL c

Re: Re: Can a Table Created in Java Code be Queried Using SQL Client?

2025-01-02 Thread Vinay Agarwal
atalog. > > > [1] > https://github.com/apache/flink/blob/master/flink-test-utils-parent/flink-table-filesystem-test-utils/src/main/java/org/apache/flink/table/file/testutils/catalog/TestFileSystemCatalogFactory.java > > > -- > Best! > Xuyang > > > 在 2025-0

Re: Re: Re: Can a Table Created in Java Code be Queried Using SQL Client?

2025-01-04 Thread Vinay Agarwal
-+ 1 row in set Flink SQL> show tables; Empty set ``` I thought setting the catalogstore in the SQL client might help but I can't find a way to do that. Thanks, Vinay On Thu, Jan 2, 2025 at 7:08 PM Xuyang wrote: > How about porting the `TestFileSystemCatalogFactory` back to 1

Re: Re: Re: Re: Re: Re: Can a Table Created in Java Code be Queried Using SQL Client?

2025-01-10 Thread Vinay Agarwal
int(); > > env.execute("Flink Random Sequence Generator environment: TEST"); > > ``` > > When using `./sql-client.sh -Dtable.catalog-store.kind=file > -Dtable.catalog-store.file.path=xxx` to start the sql client, you can find > the table finally. > > ``` >

Re: Can a Table Created in Java Code be Queried Using SQL Client?

2024-12-31 Thread Vinay Agarwal
atalogs/#using-sql-ddl > > [3] > https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/catalogs/#catalog-store > > > -- > Best! > Xuyang > > > At 2024-12-27 01:28:38, "Vinay Agarwal" wrote: > > Hello, > > I am looking for