-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
When I try to build from source (docker and source directly), I get the following error:
external/com_github_tfx_bsl/tfx_bsl/cc/statistics/sql_util.cc: In function 'absl::lts_20210324::StatusOr<bool> tfx_bsl::statistics::EvaluatePredicate(const tensorflow::metadata::v0::FeatureNameStatistics&, const string&)':
external/com_github_tfx_bsl/tfx_bsl/cc/statistics/sql_util.cc:75:32: error: invalid initialization of reference of type 'const absl::lts_20210324::StatusOr<zetasql::Value>&' from expression of type 'zetasql_base::StatusOr<zetasql::Value>'
return GetResult(expr.Execute(
~~~~~~~~~~~~^
{{"feature", zetasql::values::Proto(proto_type, feature_statistics)}}));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/com_github_tfx_bsl/tfx_bsl/cc/statistics/sql_util.cc:32:22: note: in passing argument 1 of 'absl::lts_20210324::StatusOr<bool> tfx_bsl::statistics::{anonymous}::GetResult(const absl::lts_20210324::StatusOr<zetasql::Value>&)'
absl::StatusOr<bool> GetResult(
^~~~~~~~~
external/com_github_tfx_bsl/tfx_bsl/cc/statistics/sql_util.cc: In function 'absl::lts_20210324::StatusOr<bool> tfx_bsl::statistics::EvaluatePredicate(const tensorflow::metadata::v0::FeatureNameStatistics&, const tensorflow::metadata::v0::FeatureNameStatistics&, const string&)':
external/com_github_tfx_bsl/tfx_bsl/cc/statistics/sql_util.cc:104:32: error: invalid initialization of reference of type 'const absl::lts_20210324::StatusOr<zetasql::Value>&' from expression of type 'zetasql_base::StatusOr<zetasql::Value>'
return GetResult(expr.Execute(
~~~~~~~~~~~~^
{{"feature_base",
~~~~~~~~~~~~~~~~~
zetasql::values::Proto(proto_type, feature_statistics_base)},
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{"feature_test",
~~~~~~~~~~~~~~~~
zetasql::values::Proto(proto_type, feature_statistics_test)}}));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am running it on my Mac Intel. Does anyone one know what to do?