Skip to content

Commit

Permalink
Use python 3 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Aug 30, 2023
1 parent 639fc87 commit f6505bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void assertLocalServiceIsAvailableFromDatabase(final InetSocketAddress i

private void pingFromUdf(final InetSocketAddress inDbAddress) throws SQLException {
this.statement.executeUpdate("CREATE SCHEMA TEST");
final String pingUdf = "CREATE OR REPLACE PYTHON SCALAR SCRIPT TEST.PING() RETURNS INT AS\n" + //
final String pingUdf = "CREATE OR REPLACE PYTHON3 SCALAR SCRIPT TEST.PING() RETURNS INT AS\n" + //
"def run(ctx):\n" + //
" import socket\n" + //
" s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n" + //
Expand Down

0 comments on commit f6505bd

Please sign in to comment.