File tree 28 files changed +36
-34
lines changed
connectors/postgresql-connector/src
java/com/datasqrl/connector/postgresql/type
resources/META-INF/services
test/java/com/datasqrl/connector/postgresql/jdbc
main/java/com/datasqrl/types/json/functions
test/java/com/datasqrl/json
java/com/datasqrl/types/vector/functions
resources/META-INF/services
28 files changed +36
-34
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .connector . postgresql . type ;
17
17
18
- import com .datasqrl .connector .postgresql .type .JdbcTypeSerializer ;
19
18
import com .datasqrl .connector .postgresql .type .JdbcTypeSerializer .GenericDeserializationConverter ;
20
19
import com .datasqrl .connector .postgresql .type .JdbcTypeSerializer .GenericSerializationConverter ;
21
20
import com .datasqrl .types .vector .FlinkVectorType ;
Original file line number Diff line number Diff line change 1
1
com.datasqrl.connector.postgresql.type.PostgresRowTypeSerializer
2
- com.datasqrl.connector.postgresql.type.PostgresJsonTypeSerializer
2
+ com.datasqrl.connector.postgresql.type.PostgresJsonTypeSerializer
3
+ com.datasqrl.connector.postgresql.type.PostgresVectorTypeSerializer
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public void testFlinkWithPostgres() throws Exception {
102
102
103
103
// Register tables in the environment
104
104
tableEnv .executeSql (
105
- "CREATE TEMPORARY FUNCTION IF NOT EXISTS `tojson` AS 'com.datasqrl.json.ToJson' LANGUAGE JAVA" );
105
+ "CREATE TEMPORARY FUNCTION IF NOT EXISTS `tojson` AS 'com.datasqrl.types. json.functions .ToJson' LANGUAGE JAVA" );
106
106
tableEnv .executeSql (createSourceTable );
107
107
tableEnv .executeSql (createSinkTable );
108
108
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import java .util .List ;
19
19
import lombok .Value ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
- import static com .datasqrl .json .JsonFunctions .createJsonArgumentTypeStrategy ;
19
- import static com .datasqrl .json .JsonFunctions .createJsonType ;
18
+ import static com .datasqrl .types . json . functions .JsonFunctions .createJsonArgumentTypeStrategy ;
19
+ import static com .datasqrl .types . json . functions .JsonFunctions .createJsonType ;
20
20
21
21
import com .datasqrl .function .AutoRegisterSystemFunction ;
22
22
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .types .json .FlinkJsonType ;
19
19
import java .util .ArrayList ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .types .json .FlinkJsonType ;
19
19
import org .apache .flink .table .api .DataTypes ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
- import static com .datasqrl .json .JsonFunctions .createJsonArgumentTypeStrategy ;
18
+ import static com .datasqrl .types . json . functions .JsonFunctions .createJsonArgumentTypeStrategy ;
19
19
20
20
import com .datasqrl .function .AutoRegisterSystemFunction ;
21
21
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .types .json .FlinkJsonType ;
19
19
import com .datasqrl .types .json .FlinkJsonTypeSerializer ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import java .util .Map ;
19
19
import lombok .Getter ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .json ;
16
+ package com .datasqrl .types . json . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .json .FlinkJsonType ;
Original file line number Diff line number Diff line change 23
23
import static org .junit .jupiter .api .Assertions .assertTrue ;
24
24
25
25
import com .datasqrl .types .json .FlinkJsonType ;
26
+ import com .datasqrl .types .json .functions .ArrayAgg ;
27
+ import com .datasqrl .types .json .functions .JsonFunctions ;
28
+ import com .datasqrl .types .json .functions .ObjectAgg ;
26
29
import lombok .SneakyThrows ;
27
30
import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .databind .JsonNode ;
28
31
import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .databind .ObjectMapper ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .vector .FlinkVectorType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
- import static com .datasqrl .vector .VectorFunctions .VEC_TO_DOUBLE ;
19
- import static com .datasqrl .vector .VectorFunctions .convert ;
18
+ import static com .datasqrl .types . vector . functions .VectorFunctions .VEC_TO_DOUBLE ;
19
+ import static com .datasqrl .types . vector . functions .VectorFunctions .convert ;
20
20
21
21
import com .datasqrl .types .vector .FlinkVectorType ;
22
22
import org .apache .flink .table .functions .AggregateFunction ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
// import com.google.common.base.Preconditions;
19
19
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
import com .datasqrl .types .vector .FlinkVectorType ;
19
19
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
- import static com .datasqrl .vector .VectorFunctions .VEC_TO_DOUBLE ;
18
+ import static com .datasqrl .types . vector . functions .VectorFunctions .VEC_TO_DOUBLE ;
19
19
20
20
import com .datasqrl .function .AutoRegisterSystemFunction ;
21
21
import com .datasqrl .types .vector .FlinkVectorType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .vector .FlinkVectorType ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
- import static com .datasqrl .vector .VectorFunctions .VEC_TO_DOUBLE ;
18
+ import static com .datasqrl .types . vector . functions .VectorFunctions .VEC_TO_DOUBLE ;
19
19
20
20
import com .datasqrl .function .AutoRegisterSystemFunction ;
21
21
import com .datasqrl .types .vector .FlinkVectorType ;
File renamed without changes.
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
import com .datasqrl .types .vector .FlinkVectorType ;
19
19
import java .util .Set ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .datasqrl .vector ;
16
+ package com .datasqrl .types . vector . functions ;
17
17
18
18
import com .datasqrl .function .AutoRegisterSystemFunction ;
19
19
import com .datasqrl .types .vector .FlinkVectorType ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments