-
-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Hello,
I am using golang version 1.24.1 and during the build step I get the below errors on Mac OS 15.5. Any idea on how to solve this or if I am doing something wrong? The build does not pass and I cant start the BigQuery emulator on the same process as the testing process.
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:228:31: undefined: tablewriter.ALIGN_LEFT
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:230:31: undefined: tablewriter.ALIGN_RIGHT
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:256:43: undefined: tablewriter.ALIGN_LEFT
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:271:5: tw.SetAutoFormatHeaders undefined (type *tablewriter.Table has no field or method SetAutoFormatHeaders)
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:272:5: tw.SetColumnAlignment undefined (type *tablewriter.Table has no field or method SetColumnAlignment)
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:273:5: tw.SetHeaderAlignment undefined (type *tablewriter.Table has no field or method SetHeaderAlignment)
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:273:36: undefined: tablewriter.ALIGN_LEFT
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:274:5: tw.SetFooterAlignment undefined (type *tablewriter.Table has no field or method SetFooterAlignment)
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:274:36: undefined: tablewriter.ALIGN_LEFT
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:275:5: tw.SetHeader undefined (type *tablewriter.Table has no field or method SetHeader)
../../go/pkg/mod/github.com/parquet-go/[email protected]/print.go:275:5: too many errors
There are also a lot of warning like below:
In file included from bind.cc:3:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/go-zetasql/parser/parser/export.inc:4:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/zetasql/parser/ast_node.h:25:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/zetasql/public/parse_location.h:28:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/status/statusor.h:47:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/base/call_once.h:34:
In file included from ../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/base/internal/invoke.h:42:
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/meta/type_traits.h:560:8: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins]
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/meta/type_traits.h:301:36: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/meta/type_traits.h:562:7: note: in instantiation of template class 'absl::is_trivially_destructible<absl::container_internal::btree_iterator<absl::container_internal::btree_node<absl::container_internal::set_params<zetasql::ResolvedASTRewrite, std::less<zetasql::ResolvedASTRewrite>, std::allocator<zetasql::ResolvedASTRewrite>, 256, false>>, zetasql::ResolvedASTRewrite &, zetasql::ResolvedASTRewrite *>>' requested here
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/meta/type_traits.h:571:70: note: in instantiation of static data member 'absl::type_traits_internal::is_trivially_copyable_impl<absl::container_internal::btree_iterator<absl::container_internal::btree_node<absl::container_internal::set_params<zetasql::ResolvedASTRewrite, std::less<zetasql::ResolvedASTRewrite>, std::allocator<zetasql::ResolvedASTRewrite>, 256, false>>, zetasql::ResolvedASTRewrite &, zetasql::ResolvedASTRewrite *>>::kValue' requested here
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/container/internal/btree.h:1814:39: note: in instantiation of template class 'absl::type_traits_internal::is_trivially_copyable<absl::container_internal::btree_iterator<absl::container_internal::btree_node<absl::container_internal::set_params<zetasql::ResolvedASTRewrite, std::less<zetasql::ResolvedASTRewrite>, std::allocator<zetasql::ResolvedASTRewrite>, 256, false>>, zetasql::ResolvedASTRewrite &, zetasql::ResolvedASTRewrite *>>' requested here
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/container/internal/btree.h:1112:19: note: in instantiation of member function 'absl::container_internal::btree<absl::container_internal::set_params<zetasql::ResolvedASTRewrite, std::less<zetasql::ResolvedASTRewrite>, std::allocator<zetasql::ResolvedASTRewrite>, 256, false>>::static_assert_validation' requested here
../../go/pkg/mod/github.com/goccy/[email protected]/internal/ccall/absl/container/internal/btree_container.h:37:7: note: in instantiation of member function 'absl::container_internal::btree<absl::container_internal::set_params<zetasql::ResolvedASTRewrite, std::less<zetasql::ResolvedASTRewrite>, std::allocator<zetasql::ResolvedASTRewrite>, 256, false>>::~btree' requested here
Thanks for any pointers or help!
What did you expect to happen?
No errors/warning with a successful build on MacOS 15.5 and golang version 1.24.1
How can we reproduce it (as minimally and precisely as possible)?
Run the sample go code on the ReadMe of this repository
Anything else we need to know?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working