I am using this emulator package in my go application to write tests for big query. When tests are run in local and CI, I am seeing following logs and the tests are failing.
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<float, int>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:346:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<float, int>' requested here
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<float, long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:361:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<float, long>' requested here
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<float, unsigned int>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:376:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<float, unsigned int>' requested here
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned long' to 'float' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<float, unsigned long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:391:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<float, unsigned long>' requested here
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<double, long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:464:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<double, long>' requested here
In file included from bind.cc:3:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parser/export.inc:1317:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql::convert_internal::InRangeNoTruncate<double, unsigned long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:494:18: note: in instantiation of function template specialization 'zetasql::functions::internal::CheckFloatToIntRange<double, unsigned long>' requested here
# github.com/goccy/go-zetasql/internal/ccall/go-zetasql/parser/parser
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<float, int>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:346:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<float, int>' requested here
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<float, long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:361:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<float, long>' requested here
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<float, unsigned int>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:376:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<float, unsigned int>' requested here
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned long' to 'float' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<float, unsigned long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:391:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<float, unsigned long>' requested here
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<double, long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:464:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<double, long>' requested here
In file included from bind.cc:120:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/bison_parser_generated_lib/export.inc:219:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/parser/parse_tree/export.inc:722:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/type/export.inc:61:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/types/export.inc:1751:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/types/value_representations/export.inc:6:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/go-zetasql/public/interval_value/export.inc:7:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/interval_value.cc:22:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/arithmetics.h:46:
In file included from /home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:42:
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert_internal.h:103:29: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:95:28: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::convert_internal::InRangeNoTruncate<double, unsigned long>' requested here
/home/runner/go/pkg/mod/github.com/goccy/go-zetasql@v0.5.5/internal/ccall/zetasql/public/functions/convert.h:494:18: note: in instantiation of function template specialization 'zetasql_parser_parser_zetasql::functions::internal::CheckFloatToIntRange<double, unsigned long>' requested here
FAIL github.com/.../ux-api/pkg/app/services [build failed]
What did you expect to happen?
The tests should get passed.
How can we reproduce it (as minimally and precisely as possible)?
Try using this emulator package and run tests locally or using CI.
Anything else we need to know?
I have set the following env variables as suggested.
CGO_ENABLED: "1"
CXX: "clang++"
What happened?
I am using this emulator package in my go application to write tests for big query. When tests are run in local and CI, I am seeing following logs and the tests are failing.
What did you expect to happen?
The tests should get passed.
How can we reproduce it (as minimally and precisely as possible)?
Try using this emulator package and run tests locally or using CI.
Anything else we need to know?
I have set the following env variables as suggested. CGO_ENABLED: "1" CXX: "clang++"
The tests are run in ubuntu distribution.