Skip to content

Commit 620761e

Browse files
committed
Relocate packages to better organize sources
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent f194d98 commit 620761e

File tree

28 files changed

+40
-42
lines changed

28 files changed

+40
-42
lines changed

connectors/postgresql-connector/src/main/java/com/datasqrl/vector/PostgresVectorTypeSerializer.java renamed to connectors/postgresql-connector/src/main/java/com/datasqrl/connector/postgresql/type/PostgresVectorTypeSerializer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.vector;
16+
package com.datasqrl.connector.postgresql.type;
1717

18-
import com.datasqrl.connector.postgresql.type.JdbcTypeSerializer;
1918
import com.datasqrl.connector.postgresql.type.JdbcTypeSerializer.GenericDeserializationConverter;
2019
import com.datasqrl.connector.postgresql.type.JdbcTypeSerializer.GenericSerializationConverter;
2120
import com.datasqrl.types.vector.FlinkVectorType;
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
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

connectors/postgresql-connector/src/test/java/com/datasqrl/connector/postgresql/jdbc/FlinkJdbcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void testFlinkWithPostgres() throws Exception {
102102

103103
// Register tables in the environment
104104
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");
106106
tableEnv.executeSql(createSourceTable);
107107
tableEnv.executeSql(createSinkTable);
108108

types/json-type/src/main/java/com/datasqrl/json/ArrayAgg.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/ArrayAgg.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import java.util.List;
1919
import lombok.Value;

types/json-type/src/main/java/com/datasqrl/json/JsonArray.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonArray.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

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;
2020

2121
import com.datasqrl.function.AutoRegisterSystemFunction;
2222
import com.datasqrl.types.json.FlinkJsonType;

types/json-type/src/main/java/com/datasqrl/json/JsonArrayAgg.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonArrayAgg.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import com.datasqrl.types.json.FlinkJsonType;
1919
import java.util.ArrayList;

types/json-type/src/main/java/com/datasqrl/json/JsonConcat.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonConcat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import com.datasqrl.function.AutoRegisterSystemFunction;
1919
import com.datasqrl.types.json.FlinkJsonType;

types/json-type/src/main/java/com/datasqrl/json/JsonExists.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonExists.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import com.datasqrl.function.AutoRegisterSystemFunction;
1919
import com.datasqrl.types.json.FlinkJsonType;

types/json-type/src/main/java/com/datasqrl/json/JsonExtract.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonExtract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import com.datasqrl.function.AutoRegisterSystemFunction;
1919
import com.datasqrl.types.json.FlinkJsonType;

types/json-type/src/main/java/com/datasqrl/json/JsonFunctions.java renamed to types/json-type/src/main/java/com/datasqrl/types/json/functions/JsonFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.datasqrl.json;
16+
package com.datasqrl.types.json.functions;
1717

1818
import com.datasqrl.types.json.FlinkJsonType;
1919
import org.apache.flink.table.api.DataTypes;

0 commit comments

Comments
 (0)