diff --git a/scripts/update_substrait.py b/scripts/update_substrait.py index b799234..312a67b 100644 --- a/scripts/update_substrait.py +++ b/scripts/update_substrait.py @@ -5,7 +5,7 @@ import shutil from os import walk -GITHUB_TAG = "5fe2a16ac3a3e8deb970b757ea91dc33b7763a1d" # V0.53 +GITHUB_TAG = "a0a10bb39dae32a5564f4f37a4673068a08c8e91" # v0.59.0 # Change to substrait folder sub_folder = os.path.join(os.path.dirname(os.path.realpath(__file__)),'..','third_party','substrait') os.chdir(sub_folder) diff --git a/src/from_substrait.cpp b/src/from_substrait.cpp index 868247f..5679815 100644 --- a/src/from_substrait.cpp +++ b/src/from_substrait.cpp @@ -452,10 +452,10 @@ shared_ptr SubstraitToDuckDB::TransformJoinOp(const substrait::Rel &so case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_RIGHT: djointype = JoinType::RIGHT; break; - case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_SINGLE: + case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE: djointype = JoinType::SINGLE; break; - case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_SEMI: + case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_LEFT_SEMI: djointype = JoinType::SEMI; break; case substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_OUTER: diff --git a/src/to_substrait.cpp b/src/to_substrait.cpp index bd38b19..5fb7f2b 100644 --- a/src/to_substrait.cpp +++ b/src/to_substrait.cpp @@ -963,10 +963,10 @@ substrait::Rel *DuckDBToSubstrait::TransformComparisonJoin(LogicalOperator &dop) sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_RIGHT); break; case JoinType::SINGLE: - sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_SINGLE); + sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE); break; case JoinType::SEMI: - sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_SEMI); + sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_LEFT_SEMI); break; case JoinType::OUTER: sjoin->set_type(substrait::JoinRel::JoinType::JoinRel_JoinType_JOIN_TYPE_OUTER); diff --git a/substrait b/substrait index 67f93b6..a0a10bb 160000 --- a/substrait +++ b/substrait @@ -1 +1 @@ -Subproject commit 67f93b654e4cc60340a214ba90fe15c5e9de941b +Subproject commit a0a10bb39dae32a5564f4f37a4673068a08c8e91 diff --git a/third_party/substrait/substrait/algebra.pb.cc b/third_party/substrait/substrait/algebra.pb.cc index 2f239dc..e0064f3 100644 --- a/third_party/substrait/substrait/algebra.pb.cc +++ b/third_party/substrait/substrait/algebra.pb.cc @@ -67,9 +67,40 @@ struct RelCommon_Hint_RuntimeConstraintDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RelCommon_Hint_RuntimeConstraintDefaultTypeInternal _RelCommon_Hint_RuntimeConstraint_default_instance_; +constexpr RelCommon_Hint_SavedComputation::RelCommon_Hint_SavedComputation( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : computation_id_(0) + , type_(0) +{} +struct RelCommon_Hint_SavedComputationDefaultTypeInternal { + constexpr RelCommon_Hint_SavedComputationDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RelCommon_Hint_SavedComputationDefaultTypeInternal() {} + union { + RelCommon_Hint_SavedComputation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RelCommon_Hint_SavedComputationDefaultTypeInternal _RelCommon_Hint_SavedComputation_default_instance_; +constexpr RelCommon_Hint_LoadedComputation::RelCommon_Hint_LoadedComputation( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : computation_id_reference_(0) + , type_(0) +{} +struct RelCommon_Hint_LoadedComputationDefaultTypeInternal { + constexpr RelCommon_Hint_LoadedComputationDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RelCommon_Hint_LoadedComputationDefaultTypeInternal() {} + union { + RelCommon_Hint_LoadedComputation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RelCommon_Hint_LoadedComputationDefaultTypeInternal _RelCommon_Hint_LoadedComputation_default_instance_; constexpr RelCommon_Hint::RelCommon_Hint( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : alias_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + : output_names_() + , saved_computations_() + , loaded_computations_() + , alias_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , stats_(nullptr) , constraint_(nullptr) , advanced_extension_(nullptr){} @@ -111,7 +142,8 @@ struct ReadRel_NamedTableDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReadRel_NamedTableDefaultTypeInternal _ReadRel_NamedTable_default_instance_; constexpr ReadRel_VirtualTable::ReadRel_VirtualTable( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : values_(){} + : values_() + , expressions_(){} struct ReadRel_VirtualTableDefaultTypeInternal { constexpr ReadRel_VirtualTableDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -177,6 +209,23 @@ struct ReadRel_LocalFiles_FileOrFiles_DwrfReadOptionsDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReadRel_LocalFiles_FileOrFiles_DwrfReadOptionsDefaultTypeInternal _ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions_default_instance_; +constexpr ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : field_delimiter_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , quote_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , escape_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , value_treated_as_null_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , max_line_size_(uint64_t{0u}) + , header_lines_to_skip_(uint64_t{0u}){} +struct ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal { + constexpr ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal() {} + union { + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal _ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions_default_instance_; constexpr ReadRel_LocalFiles_FileOrFiles::ReadRel_LocalFiles_FileOrFiles( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : partition_index_(uint64_t{0u}) @@ -290,7 +339,9 @@ struct FetchRelDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FetchRelDefaultTypeInternal _FetchRel_default_instance_; constexpr AggregateRel_Grouping::AggregateRel_Grouping( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : grouping_expressions_(){} + : grouping_expressions_() + , expression_references_() + , _expression_references_cached_byte_size_(0){} struct AggregateRel_GroupingDefaultTypeInternal { constexpr AggregateRel_GroupingDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -317,6 +368,7 @@ constexpr AggregateRel::AggregateRel( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : groupings_() , measures_() + , grouping_expressions_() , common_(nullptr) , input_(nullptr) , advanced_extension_(nullptr){} @@ -890,7 +942,8 @@ constexpr Expression_Literal_IntervalDayToSecond::Expression_Literal_IntervalDay ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : days_(0) , seconds_(0) - , microseconds_(0){} + , subseconds_(int64_t{0}) + , _oneof_case_{}{} struct Expression_Literal_IntervalDayToSecondDefaultTypeInternal { constexpr Expression_Literal_IntervalDayToSecondDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -900,6 +953,19 @@ struct Expression_Literal_IntervalDayToSecondDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Expression_Literal_IntervalDayToSecondDefaultTypeInternal _Expression_Literal_IntervalDayToSecond_default_instance_; +constexpr Expression_Literal_IntervalCompound::Expression_Literal_IntervalCompound( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : interval_year_to_month_(nullptr) + , interval_day_to_second_(nullptr){} +struct Expression_Literal_IntervalCompoundDefaultTypeInternal { + constexpr Expression_Literal_IntervalCompoundDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Expression_Literal_IntervalCompoundDefaultTypeInternal() {} + union { + Expression_Literal_IntervalCompound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Expression_Literal_IntervalCompoundDefaultTypeInternal _Expression_Literal_IntervalCompound_default_instance_; constexpr Expression_Literal_Struct::Expression_Literal_Struct( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : fields_(){} @@ -1611,8 +1677,8 @@ struct ReferenceRelDefaultTypeInternal { }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReferenceRelDefaultTypeInternal _ReferenceRel_default_instance_; } // namespace substrait -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2falgebra_2eproto[117]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_substrait_2falgebra_2eproto[18]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2falgebra_2eproto[121]; +static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_substrait_2falgebra_2eproto[19]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_substrait_2falgebra_2eproto = nullptr; const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -1646,6 +1712,22 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_RuntimeConstraint, advanced_extension_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_SavedComputation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_SavedComputation, computation_id_), + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_SavedComputation, type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_LoadedComputation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_LoadedComputation, computation_id_reference_), + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint_LoadedComputation, type_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1654,7 +1736,10 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, stats_), PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, constraint_), PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, alias_), + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, output_names_), PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, advanced_extension_), + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, saved_computations_), + PROTOBUF_FIELD_OFFSET(::substrait::RelCommon_Hint, loaded_computations_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::RelCommon, _internal_metadata_), ~0u, // no _extensions_ @@ -1681,6 +1766,7 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_VirtualTable, values_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_VirtualTable, expressions_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_ExtensionTable, _internal_metadata_), ~0u, // no _extensions_ @@ -1712,6 +1798,24 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, _has_bits_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, field_delimiter_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, max_line_size_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, quote_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, header_lines_to_skip_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, escape_), + PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, value_treated_as_null_), + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles, _internal_metadata_), ~0u, // no _extensions_ @@ -1730,6 +1834,7 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles, path_type_), PROTOBUF_FIELD_OFFSET(::substrait::ReadRel_LocalFiles_FileOrFiles, file_format_), ~0u, // no _has_bits_ @@ -1808,6 +1913,7 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel_Grouping, grouping_expressions_), + PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel_Grouping, expression_references_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel_Measure, _internal_metadata_), ~0u, // no _extensions_ @@ -1826,6 +1932,7 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel, input_), PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel, groupings_), PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel, measures_), + PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel, grouping_expressions_), PROTOBUF_FIELD_OFFSET(::substrait::AggregateRel, advanced_extension_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::ConsistentPartitionWindowRel_WindowRelFunction, _internal_metadata_), @@ -2221,12 +2328,23 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, _internal_metadata_), ~0u, // no _extensions_ - ~0u, // no _oneof_case_ + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, _oneof_case_[0]), ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, days_), PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, seconds_), - PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, microseconds_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, subseconds_), + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalDayToSecond, precision_mode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalCompound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalCompound, interval_year_to_month_), + PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_IntervalCompound, interval_day_to_second_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal_Struct, _internal_metadata_), ~0u, // no _extensions_ @@ -2287,6 +2405,7 @@ const uint32_t TableStruct_substrait_2falgebra_2eproto::offsets[] PROTOBUF_SECTI ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal, nullable_), PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal, type_variation_reference_), PROTOBUF_FIELD_OFFSET(::substrait::Expression_Literal, literal_type_), @@ -2738,119 +2857,123 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 6, -1, -1, sizeof(::substrait::RelCommon_Emit)}, { 13, -1, -1, sizeof(::substrait::RelCommon_Hint_Stats)}, { 22, -1, -1, sizeof(::substrait::RelCommon_Hint_RuntimeConstraint)}, - { 29, -1, -1, sizeof(::substrait::RelCommon_Hint)}, - { 39, -1, -1, sizeof(::substrait::RelCommon)}, - { 50, -1, -1, sizeof(::substrait::ReadRel_NamedTable)}, - { 58, -1, -1, sizeof(::substrait::ReadRel_VirtualTable)}, - { 65, -1, -1, sizeof(::substrait::ReadRel_ExtensionTable)}, - { 72, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions)}, - { 78, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions)}, - { 84, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions)}, - { 90, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions)}, - { 96, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles)}, - { 116, -1, -1, sizeof(::substrait::ReadRel_LocalFiles)}, - { 124, -1, -1, sizeof(::substrait::ReadRel)}, - { 141, -1, -1, sizeof(::substrait::ProjectRel)}, - { 151, -1, -1, sizeof(::substrait::JoinRel)}, - { 164, -1, -1, sizeof(::substrait::CrossRel)}, - { 174, -1, -1, sizeof(::substrait::FetchRel)}, - { 185, -1, -1, sizeof(::substrait::AggregateRel_Grouping)}, - { 192, -1, -1, sizeof(::substrait::AggregateRel_Measure)}, - { 200, -1, -1, sizeof(::substrait::AggregateRel)}, - { 211, -1, -1, sizeof(::substrait::ConsistentPartitionWindowRel_WindowRelFunction)}, - { 226, -1, -1, sizeof(::substrait::ConsistentPartitionWindowRel)}, - { 238, -1, -1, sizeof(::substrait::SortRel)}, - { 248, -1, -1, sizeof(::substrait::FilterRel)}, - { 258, -1, -1, sizeof(::substrait::SetRel)}, - { 268, -1, -1, sizeof(::substrait::ExtensionSingleRel)}, - { 277, -1, -1, sizeof(::substrait::ExtensionLeafRel)}, - { 285, -1, -1, sizeof(::substrait::ExtensionMultiRel)}, - { 294, -1, -1, sizeof(::substrait::ExchangeRel_ScatterFields)}, - { 301, -1, -1, sizeof(::substrait::ExchangeRel_SingleBucketExpression)}, - { 308, -1, -1, sizeof(::substrait::ExchangeRel_MultiBucketExpression)}, - { 316, -1, -1, sizeof(::substrait::ExchangeRel_Broadcast)}, - { 322, -1, -1, sizeof(::substrait::ExchangeRel_RoundRobin)}, - { 329, -1, -1, sizeof(::substrait::ExchangeRel_ExchangeTarget)}, - { 339, -1, -1, sizeof(::substrait::ExchangeRel)}, - { 356, -1, -1, sizeof(::substrait::ExpandRel_ExpandField)}, - { 365, -1, -1, sizeof(::substrait::ExpandRel_SwitchingField)}, - { 372, -1, -1, sizeof(::substrait::ExpandRel)}, - { 381, -1, -1, sizeof(::substrait::RelRoot)}, - { 389, -1, -1, sizeof(::substrait::Rel)}, - { 417, -1, -1, sizeof(::substrait::NamedObjectWrite)}, - { 425, -1, -1, sizeof(::substrait::ExtensionObject)}, - { 432, -1, -1, sizeof(::substrait::DdlRel)}, - { 447, -1, -1, sizeof(::substrait::WriteRel)}, - { 461, -1, -1, sizeof(::substrait::ComparisonJoinKey_ComparisonType)}, - { 470, -1, -1, sizeof(::substrait::ComparisonJoinKey)}, - { 479, -1, -1, sizeof(::substrait::HashJoinRel)}, - { 494, -1, -1, sizeof(::substrait::MergeJoinRel)}, - { 509, -1, -1, sizeof(::substrait::NestedLoopJoinRel)}, - { 521, -1, -1, sizeof(::substrait::FunctionArgument)}, - { 531, -1, -1, sizeof(::substrait::FunctionOption)}, - { 539, -1, -1, sizeof(::substrait::Expression_Enum_Empty)}, - { 545, -1, -1, sizeof(::substrait::Expression_Enum)}, - { 554, -1, -1, sizeof(::substrait::Expression_Literal_VarChar)}, - { 562, -1, -1, sizeof(::substrait::Expression_Literal_Decimal)}, - { 571, -1, -1, sizeof(::substrait::Expression_Literal_PrecisionTimestamp)}, - { 579, -1, -1, sizeof(::substrait::Expression_Literal_Map_KeyValue)}, - { 587, -1, -1, sizeof(::substrait::Expression_Literal_Map)}, - { 594, -1, -1, sizeof(::substrait::Expression_Literal_IntervalYearToMonth)}, - { 602, -1, -1, sizeof(::substrait::Expression_Literal_IntervalDayToSecond)}, - { 611, -1, -1, sizeof(::substrait::Expression_Literal_Struct)}, - { 618, -1, -1, sizeof(::substrait::Expression_Literal_List)}, - { 625, -1, -1, sizeof(::substrait::Expression_Literal_UserDefined)}, - { 636, -1, -1, sizeof(::substrait::Expression_Literal)}, - { 674, -1, -1, sizeof(::substrait::Expression_Nested_Map_KeyValue)}, - { 682, -1, -1, sizeof(::substrait::Expression_Nested_Map)}, - { 689, -1, -1, sizeof(::substrait::Expression_Nested_Struct)}, - { 696, -1, -1, sizeof(::substrait::Expression_Nested_List)}, - { 703, -1, -1, sizeof(::substrait::Expression_Nested)}, - { 715, -1, -1, sizeof(::substrait::Expression_ScalarFunction)}, - { 726, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Preceding)}, - { 733, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Following)}, - { 740, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_CurrentRow)}, - { 746, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Unbounded)}, - { 752, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound)}, - { 763, -1, -1, sizeof(::substrait::Expression_WindowFunction)}, - { 781, -1, -1, sizeof(::substrait::Expression_IfThen_IfClause)}, - { 789, -1, -1, sizeof(::substrait::Expression_IfThen)}, - { 797, -1, -1, sizeof(::substrait::Expression_Cast)}, - { 806, -1, -1, sizeof(::substrait::Expression_SwitchExpression_IfValue)}, - { 814, -1, -1, sizeof(::substrait::Expression_SwitchExpression)}, - { 823, -1, -1, sizeof(::substrait::Expression_SingularOrList)}, - { 831, -1, -1, sizeof(::substrait::Expression_MultiOrList_Record)}, - { 838, -1, -1, sizeof(::substrait::Expression_MultiOrList)}, - { 846, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction_PythonPickleFunction)}, - { 854, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction_WebAssemblyFunction)}, - { 862, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction)}, - { 873, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_MapKey)}, - { 881, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_StructField)}, - { 889, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_ListElement)}, - { 897, -1, -1, sizeof(::substrait::Expression_ReferenceSegment)}, - { 907, -1, -1, sizeof(::substrait::Expression_MaskExpression_Select)}, - { 917, -1, -1, sizeof(::substrait::Expression_MaskExpression_StructSelect)}, - { 924, -1, -1, sizeof(::substrait::Expression_MaskExpression_StructItem)}, - { 932, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem_ListElement)}, - { 939, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice)}, - { 947, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem)}, - { 956, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect)}, - { 964, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect_MapKey)}, - { 971, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect_MapKeyExpression)}, - { 978, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect)}, - { 988, -1, -1, sizeof(::substrait::Expression_MaskExpression)}, - { 996, -1, -1, sizeof(::substrait::Expression_FieldReference_RootReference)}, - { 1002, -1, -1, sizeof(::substrait::Expression_FieldReference_OuterReference)}, - { 1009, -1, -1, sizeof(::substrait::Expression_FieldReference)}, - { 1022, -1, -1, sizeof(::substrait::Expression_Subquery_Scalar)}, - { 1029, -1, -1, sizeof(::substrait::Expression_Subquery_InPredicate)}, - { 1037, -1, -1, sizeof(::substrait::Expression_Subquery_SetPredicate)}, - { 1045, -1, -1, sizeof(::substrait::Expression_Subquery_SetComparison)}, - { 1055, -1, -1, sizeof(::substrait::Expression_Subquery)}, - { 1066, -1, -1, sizeof(::substrait::Expression)}, - { 1085, -1, -1, sizeof(::substrait::SortField)}, - { 1095, -1, -1, sizeof(::substrait::AggregateFunction)}, - { 1109, -1, -1, sizeof(::substrait::ReferenceRel)}, + { 29, -1, -1, sizeof(::substrait::RelCommon_Hint_SavedComputation)}, + { 37, -1, -1, sizeof(::substrait::RelCommon_Hint_LoadedComputation)}, + { 45, -1, -1, sizeof(::substrait::RelCommon_Hint)}, + { 58, -1, -1, sizeof(::substrait::RelCommon)}, + { 69, -1, -1, sizeof(::substrait::ReadRel_NamedTable)}, + { 77, -1, -1, sizeof(::substrait::ReadRel_VirtualTable)}, + { 85, -1, -1, sizeof(::substrait::ReadRel_ExtensionTable)}, + { 92, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions)}, + { 98, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions)}, + { 104, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions)}, + { 110, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions)}, + { 116, 128, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions)}, + { 134, -1, -1, sizeof(::substrait::ReadRel_LocalFiles_FileOrFiles)}, + { 155, -1, -1, sizeof(::substrait::ReadRel_LocalFiles)}, + { 163, -1, -1, sizeof(::substrait::ReadRel)}, + { 180, -1, -1, sizeof(::substrait::ProjectRel)}, + { 190, -1, -1, sizeof(::substrait::JoinRel)}, + { 203, -1, -1, sizeof(::substrait::CrossRel)}, + { 213, -1, -1, sizeof(::substrait::FetchRel)}, + { 224, -1, -1, sizeof(::substrait::AggregateRel_Grouping)}, + { 232, -1, -1, sizeof(::substrait::AggregateRel_Measure)}, + { 240, -1, -1, sizeof(::substrait::AggregateRel)}, + { 252, -1, -1, sizeof(::substrait::ConsistentPartitionWindowRel_WindowRelFunction)}, + { 267, -1, -1, sizeof(::substrait::ConsistentPartitionWindowRel)}, + { 279, -1, -1, sizeof(::substrait::SortRel)}, + { 289, -1, -1, sizeof(::substrait::FilterRel)}, + { 299, -1, -1, sizeof(::substrait::SetRel)}, + { 309, -1, -1, sizeof(::substrait::ExtensionSingleRel)}, + { 318, -1, -1, sizeof(::substrait::ExtensionLeafRel)}, + { 326, -1, -1, sizeof(::substrait::ExtensionMultiRel)}, + { 335, -1, -1, sizeof(::substrait::ExchangeRel_ScatterFields)}, + { 342, -1, -1, sizeof(::substrait::ExchangeRel_SingleBucketExpression)}, + { 349, -1, -1, sizeof(::substrait::ExchangeRel_MultiBucketExpression)}, + { 357, -1, -1, sizeof(::substrait::ExchangeRel_Broadcast)}, + { 363, -1, -1, sizeof(::substrait::ExchangeRel_RoundRobin)}, + { 370, -1, -1, sizeof(::substrait::ExchangeRel_ExchangeTarget)}, + { 380, -1, -1, sizeof(::substrait::ExchangeRel)}, + { 397, -1, -1, sizeof(::substrait::ExpandRel_ExpandField)}, + { 406, -1, -1, sizeof(::substrait::ExpandRel_SwitchingField)}, + { 413, -1, -1, sizeof(::substrait::ExpandRel)}, + { 422, -1, -1, sizeof(::substrait::RelRoot)}, + { 430, -1, -1, sizeof(::substrait::Rel)}, + { 458, -1, -1, sizeof(::substrait::NamedObjectWrite)}, + { 466, -1, -1, sizeof(::substrait::ExtensionObject)}, + { 473, -1, -1, sizeof(::substrait::DdlRel)}, + { 488, -1, -1, sizeof(::substrait::WriteRel)}, + { 502, -1, -1, sizeof(::substrait::ComparisonJoinKey_ComparisonType)}, + { 511, -1, -1, sizeof(::substrait::ComparisonJoinKey)}, + { 520, -1, -1, sizeof(::substrait::HashJoinRel)}, + { 535, -1, -1, sizeof(::substrait::MergeJoinRel)}, + { 550, -1, -1, sizeof(::substrait::NestedLoopJoinRel)}, + { 562, -1, -1, sizeof(::substrait::FunctionArgument)}, + { 572, -1, -1, sizeof(::substrait::FunctionOption)}, + { 580, -1, -1, sizeof(::substrait::Expression_Enum_Empty)}, + { 586, -1, -1, sizeof(::substrait::Expression_Enum)}, + { 595, -1, -1, sizeof(::substrait::Expression_Literal_VarChar)}, + { 603, -1, -1, sizeof(::substrait::Expression_Literal_Decimal)}, + { 612, -1, -1, sizeof(::substrait::Expression_Literal_PrecisionTimestamp)}, + { 620, -1, -1, sizeof(::substrait::Expression_Literal_Map_KeyValue)}, + { 628, -1, -1, sizeof(::substrait::Expression_Literal_Map)}, + { 635, -1, -1, sizeof(::substrait::Expression_Literal_IntervalYearToMonth)}, + { 643, -1, -1, sizeof(::substrait::Expression_Literal_IntervalDayToSecond)}, + { 655, -1, -1, sizeof(::substrait::Expression_Literal_IntervalCompound)}, + { 663, -1, -1, sizeof(::substrait::Expression_Literal_Struct)}, + { 670, -1, -1, sizeof(::substrait::Expression_Literal_List)}, + { 677, -1, -1, sizeof(::substrait::Expression_Literal_UserDefined)}, + { 688, -1, -1, sizeof(::substrait::Expression_Literal)}, + { 727, -1, -1, sizeof(::substrait::Expression_Nested_Map_KeyValue)}, + { 735, -1, -1, sizeof(::substrait::Expression_Nested_Map)}, + { 742, -1, -1, sizeof(::substrait::Expression_Nested_Struct)}, + { 749, -1, -1, sizeof(::substrait::Expression_Nested_List)}, + { 756, -1, -1, sizeof(::substrait::Expression_Nested)}, + { 768, -1, -1, sizeof(::substrait::Expression_ScalarFunction)}, + { 779, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Preceding)}, + { 786, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Following)}, + { 793, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_CurrentRow)}, + { 799, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound_Unbounded)}, + { 805, -1, -1, sizeof(::substrait::Expression_WindowFunction_Bound)}, + { 816, -1, -1, sizeof(::substrait::Expression_WindowFunction)}, + { 834, -1, -1, sizeof(::substrait::Expression_IfThen_IfClause)}, + { 842, -1, -1, sizeof(::substrait::Expression_IfThen)}, + { 850, -1, -1, sizeof(::substrait::Expression_Cast)}, + { 859, -1, -1, sizeof(::substrait::Expression_SwitchExpression_IfValue)}, + { 867, -1, -1, sizeof(::substrait::Expression_SwitchExpression)}, + { 876, -1, -1, sizeof(::substrait::Expression_SingularOrList)}, + { 884, -1, -1, sizeof(::substrait::Expression_MultiOrList_Record)}, + { 891, -1, -1, sizeof(::substrait::Expression_MultiOrList)}, + { 899, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction_PythonPickleFunction)}, + { 907, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction_WebAssemblyFunction)}, + { 915, -1, -1, sizeof(::substrait::Expression_EmbeddedFunction)}, + { 926, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_MapKey)}, + { 934, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_StructField)}, + { 942, -1, -1, sizeof(::substrait::Expression_ReferenceSegment_ListElement)}, + { 950, -1, -1, sizeof(::substrait::Expression_ReferenceSegment)}, + { 960, -1, -1, sizeof(::substrait::Expression_MaskExpression_Select)}, + { 970, -1, -1, sizeof(::substrait::Expression_MaskExpression_StructSelect)}, + { 977, -1, -1, sizeof(::substrait::Expression_MaskExpression_StructItem)}, + { 985, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem_ListElement)}, + { 992, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice)}, + { 1000, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect_ListSelectItem)}, + { 1009, -1, -1, sizeof(::substrait::Expression_MaskExpression_ListSelect)}, + { 1017, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect_MapKey)}, + { 1024, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect_MapKeyExpression)}, + { 1031, -1, -1, sizeof(::substrait::Expression_MaskExpression_MapSelect)}, + { 1041, -1, -1, sizeof(::substrait::Expression_MaskExpression)}, + { 1049, -1, -1, sizeof(::substrait::Expression_FieldReference_RootReference)}, + { 1055, -1, -1, sizeof(::substrait::Expression_FieldReference_OuterReference)}, + { 1062, -1, -1, sizeof(::substrait::Expression_FieldReference)}, + { 1075, -1, -1, sizeof(::substrait::Expression_Subquery_Scalar)}, + { 1082, -1, -1, sizeof(::substrait::Expression_Subquery_InPredicate)}, + { 1090, -1, -1, sizeof(::substrait::Expression_Subquery_SetPredicate)}, + { 1098, -1, -1, sizeof(::substrait::Expression_Subquery_SetComparison)}, + { 1108, -1, -1, sizeof(::substrait::Expression_Subquery)}, + { 1119, -1, -1, sizeof(::substrait::Expression)}, + { 1138, -1, -1, sizeof(::substrait::SortField)}, + { 1148, -1, -1, sizeof(::substrait::AggregateFunction)}, + { 1162, -1, -1, sizeof(::substrait::ReferenceRel)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -2858,6 +2981,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_RelCommon_Emit_default_instance_), reinterpret_cast(&::substrait::_RelCommon_Hint_Stats_default_instance_), reinterpret_cast(&::substrait::_RelCommon_Hint_RuntimeConstraint_default_instance_), + reinterpret_cast(&::substrait::_RelCommon_Hint_SavedComputation_default_instance_), + reinterpret_cast(&::substrait::_RelCommon_Hint_LoadedComputation_default_instance_), reinterpret_cast(&::substrait::_RelCommon_Hint_default_instance_), reinterpret_cast(&::substrait::_RelCommon_default_instance_), reinterpret_cast(&::substrait::_ReadRel_NamedTable_default_instance_), @@ -2867,6 +2992,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions_default_instance_), reinterpret_cast(&::substrait::_ReadRel_LocalFiles_FileOrFiles_OrcReadOptions_default_instance_), reinterpret_cast(&::substrait::_ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions_default_instance_), + reinterpret_cast(&::substrait::_ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions_default_instance_), reinterpret_cast(&::substrait::_ReadRel_LocalFiles_FileOrFiles_default_instance_), reinterpret_cast(&::substrait::_ReadRel_LocalFiles_default_instance_), reinterpret_cast(&::substrait::_ReadRel_default_instance_), @@ -2917,6 +3043,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_Expression_Literal_Map_default_instance_), reinterpret_cast(&::substrait::_Expression_Literal_IntervalYearToMonth_default_instance_), reinterpret_cast(&::substrait::_Expression_Literal_IntervalDayToSecond_default_instance_), + reinterpret_cast(&::substrait::_Expression_Literal_IntervalCompound_default_instance_), reinterpret_cast(&::substrait::_Expression_Literal_Struct_default_instance_), reinterpret_cast(&::substrait::_Expression_Literal_List_default_instance_), reinterpret_cast(&::substrait::_Expression_Literal_UserDefined_default_instance_), @@ -2977,139 +3104,169 @@ const char descriptor_table_protodef_substrait_2falgebra_2eproto[] PROTOBUF_SECT "\n\027substrait/algebra.proto\022\tsubstrait\032\031go" "ogle/protobuf/any.proto\032%substrait/exten" "sions/extensions.proto\032\024substrait/type.p" - "roto\"\250\005\n\tRelCommon\022-\n\006direct\030\001 \001(\0132\033.sub" + "roto\"\275\t\n\tRelCommon\022-\n\006direct\030\001 \001(\0132\033.sub" "strait.RelCommon.DirectH\000\022)\n\004emit\030\002 \001(\0132" "\031.substrait.RelCommon.EmitH\000\022\'\n\004hint\030\003 \001" "(\0132\031.substrait.RelCommon.Hint\022C\n\022advance" "d_extension\030\004 \001(\0132\'.substrait.extensions" ".AdvancedExtension\032\010\n\006Direct\032\036\n\004Emit\022\026\n\016" - "output_mapping\030\001 \003(\005\032\233\003\n\004Hint\022.\n\005stats\030\001" + "output_mapping\030\001 \003(\005\032\260\007\n\004Hint\022.\n\005stats\030\001" " \001(\0132\037.substrait.RelCommon.Hint.Stats\022\?\n" "\nconstraint\030\002 \001(\0132+.substrait.RelCommon." - "Hint.RuntimeConstraint\022\r\n\005alias\030\003 \001(\t\022C\n" - "\022advanced_extension\030\n \001(\0132\'.substrait.ex" - "tensions.AdvancedExtension\032t\n\005Stats\022\021\n\tr" - "ow_count\030\001 \001(\001\022\023\n\013record_size\030\002 \001(\001\022C\n\022a" - "dvanced_extension\030\n \001(\0132\'.substrait.exte" - "nsions.AdvancedExtension\032X\n\021RuntimeConst" - "raint\022C\n\022advanced_extension\030\n \001(\0132\'.subs" - "trait.extensions.AdvancedExtensionB\013\n\tem" - "it_kind\"\211\014\n\007ReadRel\022$\n\006common\030\001 \001(\0132\024.su" - "bstrait.RelCommon\022+\n\013base_schema\030\002 \001(\0132\026" - ".substrait.NamedStruct\022%\n\006filter\030\003 \001(\0132\025" - ".substrait.Expression\0221\n\022best_effort_fil" - "ter\030\013 \001(\0132\025.substrait.Expression\0228\n\nproj" - "ection\030\004 \001(\0132$.substrait.Expression.Mask" - "Expression\022C\n\022advanced_extension\030\n \001(\0132\'" - ".substrait.extensions.AdvancedExtension\022" - "8\n\rvirtual_table\030\005 \001(\0132\037.substrait.ReadR" - "el.VirtualTableH\000\0224\n\013local_files\030\006 \001(\0132\035" - ".substrait.ReadRel.LocalFilesH\000\0224\n\013named" - "_table\030\007 \001(\0132\035.substrait.ReadRel.NamedTa" - "bleH\000\022<\n\017extension_table\030\010 \001(\0132!.substra" - "it.ReadRel.ExtensionTableH\000\032`\n\nNamedTabl" - "e\022\r\n\005names\030\001 \003(\t\022C\n\022advanced_extension\030\n" + "Hint.RuntimeConstraint\022\r\n\005alias\030\003 \001(\t\022\024\n" + "\014output_names\030\004 \003(\t\022C\n\022advanced_extensio" + "n\030\n \001(\0132\'.substrait.extensions.AdvancedE" + "xtension\022F\n\022saved_computations\030\013 \003(\0132*.s" + "ubstrait.RelCommon.Hint.SavedComputation" + "\022H\n\023loaded_computations\030\014 \003(\0132+.substrai" + "t.RelCommon.Hint.LoadedComputation\032t\n\005St" + "ats\022\021\n\trow_count\030\001 \001(\001\022\023\n\013record_size\030\002 " + "\001(\001\022C\n\022advanced_extension\030\n \001(\0132\'.substr" + "ait.extensions.AdvancedExtension\032X\n\021Runt" + "imeConstraint\022C\n\022advanced_extension\030\n \001(" + "\0132\'.substrait.extensions.AdvancedExtensi" + "on\032c\n\020SavedComputation\022\026\n\016computation_id" + "\030\001 \001(\005\0227\n\004type\030\002 \001(\0162).substrait.RelComm" + "on.Hint.ComputationType\032n\n\021LoadedComputa" + "tion\022 \n\030computation_id_reference\030\001 \001(\005\0227" + "\n\004type\030\002 \001(\0162).substrait.RelCommon.Hint." + "ComputationType\"\225\001\n\017ComputationType\022 \n\034C" + "OMPUTATION_TYPE_UNSPECIFIED\020\000\022\036\n\032COMPUTA" + "TION_TYPE_HASHTABLE\020\001\022!\n\035COMPUTATION_TYP" + "E_BLOOM_FILTER\020\002\022\035\n\030COMPUTATION_TYPE_UNK" + "NOWN\020\217NB\013\n\temit_kind\"\366\016\n\007ReadRel\022$\n\006comm" + "on\030\001 \001(\0132\024.substrait.RelCommon\022+\n\013base_s" + "chema\030\002 \001(\0132\026.substrait.NamedStruct\022%\n\006f" + "ilter\030\003 \001(\0132\025.substrait.Expression\0221\n\022be" + "st_effort_filter\030\013 \001(\0132\025.substrait.Expre" + "ssion\0228\n\nprojection\030\004 \001(\0132$.substrait.Ex" + "pression.MaskExpression\022C\n\022advanced_exte" + "nsion\030\n \001(\0132\'.substrait.extensions.Advan" + "cedExtension\0228\n\rvirtual_table\030\005 \001(\0132\037.su" + "bstrait.ReadRel.VirtualTableH\000\0224\n\013local_" + "files\030\006 \001(\0132\035.substrait.ReadRel.LocalFil" + "esH\000\0224\n\013named_table\030\007 \001(\0132\035.substrait.Re" + "adRel.NamedTableH\000\022<\n\017extension_table\030\010 " + "\001(\0132!.substrait.ReadRel.ExtensionTableH\000" + "\032`\n\nNamedTable\022\r\n\005names\030\001 \003(\t\022C\n\022advance" + "d_extension\030\n \001(\0132\'.substrait.extensions" + ".AdvancedExtension\032\202\001\n\014VirtualTable\0228\n\006v" + "alues\030\001 \003(\0132$.substrait.Expression.Liter" + "al.StructB\002\030\001\0228\n\013expressions\030\002 \003(\0132#.sub" + "strait.Expression.Nested.Struct\0326\n\016Exten" + "sionTable\022$\n\006detail\030\001 \001(\0132\024.google.proto" + "buf.Any\032\256\010\n\nLocalFiles\0228\n\005items\030\001 \003(\0132)." + "substrait.ReadRel.LocalFiles.FileOrFiles" + "\022C\n\022advanced_extension\030\n \001(\0132\'.substrait" + ".extensions.AdvancedExtension\032\240\007\n\013FileOr" + "Files\022\022\n\010uri_path\030\001 \001(\tH\000\022\027\n\ruri_path_gl" + "ob\030\002 \001(\tH\000\022\022\n\010uri_file\030\003 \001(\tH\000\022\024\n\nuri_fo" + "lder\030\004 \001(\tH\000\022\027\n\017partition_index\030\006 \001(\004\022\r\n" + "\005start\030\007 \001(\004\022\016\n\006length\030\010 \001(\004\022O\n\007parquet\030" + "\t \001(\0132<.substrait.ReadRel.LocalFiles.Fil" + "eOrFiles.ParquetReadOptionsH\001\022K\n\005arrow\030\n" + " \001(\0132:.substrait.ReadRel.LocalFiles.File" + "OrFiles.ArrowReadOptionsH\001\022G\n\003orc\030\013 \001(\0132" + "8.substrait.ReadRel.LocalFiles.FileOrFil" + "es.OrcReadOptionsH\001\022)\n\textension\030\014 \001(\0132\024" + ".google.protobuf.AnyH\001\022I\n\004dwrf\030\r \001(\01329.s" + "ubstrait.ReadRel.LocalFiles.FileOrFiles." + "DwrfReadOptionsH\001\022[\n\004text\030\016 \001(\0132K.substr" + "ait.ReadRel.LocalFiles.FileOrFiles.Delim" + "iterSeparatedTextReadOptionsH\001\032\024\n\022Parque" + "tReadOptions\032\022\n\020ArrowReadOptions\032\020\n\016OrcR" + "eadOptions\032\021\n\017DwrfReadOptions\032\316\001\n!Delimi" + "terSeparatedTextReadOptions\022\027\n\017field_del" + "imiter\030\001 \001(\t\022\025\n\rmax_line_size\030\002 \001(\004\022\r\n\005q" + "uote\030\003 \001(\t\022\034\n\024header_lines_to_skip\030\004 \001(\004" + "\022\016\n\006escape\030\005 \001(\t\022\"\n\025value_treated_as_nul" + "l\030\006 \001(\tH\000\210\001\001B\030\n\026_value_treated_as_nullB\013" + "\n\tpath_typeB\r\n\013file_formatJ\004\010\005\020\006R\006format" + "B\013\n\tread_type\"\302\001\n\nProjectRel\022$\n\006common\030\001" + " \001(\0132\024.substrait.RelCommon\022\035\n\005input\030\002 \001(" + "\0132\016.substrait.Rel\022*\n\013expressions\030\003 \003(\0132\025" + ".substrait.Expression\022C\n\022advanced_extens" + "ion\030\n \001(\0132\'.substrait.extensions.Advance" + "dExtension\"\203\005\n\007JoinRel\022$\n\006common\030\001 \001(\0132\024" + ".substrait.RelCommon\022\034\n\004left\030\002 \001(\0132\016.sub" + "strait.Rel\022\035\n\005right\030\003 \001(\0132\016.substrait.Re" + "l\022)\n\nexpression\030\004 \001(\0132\025.substrait.Expres" + "sion\022/\n\020post_join_filter\030\005 \001(\0132\025.substra" + "it.Expression\022)\n\004type\030\006 \001(\0162\033.substrait." + "JoinRel.JoinType\022C\n\022advanced_extension\030\n" " \001(\0132\'.substrait.extensions.AdvancedExte" - "nsion\032D\n\014VirtualTable\0224\n\006values\030\001 \003(\0132$." - "substrait.Expression.Literal.Struct\0326\n\016E" - "xtensionTable\022$\n\006detail\030\001 \001(\0132\024.google.p" - "rotobuf.Any\032\200\006\n\nLocalFiles\0228\n\005items\030\001 \003(" - "\0132).substrait.ReadRel.LocalFiles.FileOrF" - "iles\022C\n\022advanced_extension\030\n \001(\0132\'.subst" - "rait.extensions.AdvancedExtension\032\362\004\n\013Fi" - "leOrFiles\022\022\n\010uri_path\030\001 \001(\tH\000\022\027\n\ruri_pat" - "h_glob\030\002 \001(\tH\000\022\022\n\010uri_file\030\003 \001(\tH\000\022\024\n\nur" - "i_folder\030\004 \001(\tH\000\022\027\n\017partition_index\030\006 \001(" - "\004\022\r\n\005start\030\007 \001(\004\022\016\n\006length\030\010 \001(\004\022O\n\007parq" - "uet\030\t \001(\0132<.substrait.ReadRel.LocalFiles" - ".FileOrFiles.ParquetReadOptionsH\001\022K\n\005arr" - "ow\030\n \001(\0132:.substrait.ReadRel.LocalFiles." - "FileOrFiles.ArrowReadOptionsH\001\022G\n\003orc\030\013 " - "\001(\01328.substrait.ReadRel.LocalFiles.FileO" - "rFiles.OrcReadOptionsH\001\022)\n\textension\030\014 \001" - "(\0132\024.google.protobuf.AnyH\001\022I\n\004dwrf\030\r \001(\013" - "29.substrait.ReadRel.LocalFiles.FileOrFi" - "les.DwrfReadOptionsH\001\032\024\n\022ParquetReadOpti" - "ons\032\022\n\020ArrowReadOptions\032\020\n\016OrcReadOption" - "s\032\021\n\017DwrfReadOptionsB\013\n\tpath_typeB\r\n\013fil" - "e_formatJ\004\010\005\020\006R\006formatB\013\n\tread_type\"\302\001\n\n" - "ProjectRel\022$\n\006common\030\001 \001(\0132\024.substrait.R" + "nsion\"\310\002\n\010JoinType\022\031\n\025JOIN_TYPE_UNSPECIF" + "IED\020\000\022\023\n\017JOIN_TYPE_INNER\020\001\022\023\n\017JOIN_TYPE_" + "OUTER\020\002\022\022\n\016JOIN_TYPE_LEFT\020\003\022\023\n\017JOIN_TYPE" + "_RIGHT\020\004\022\027\n\023JOIN_TYPE_LEFT_SEMI\020\005\022\027\n\023JOI" + "N_TYPE_LEFT_ANTI\020\006\022\031\n\025JOIN_TYPE_LEFT_SIN" + "GLE\020\007\022\030\n\024JOIN_TYPE_RIGHT_SEMI\020\010\022\030\n\024JOIN_" + "TYPE_RIGHT_ANTI\020\t\022\032\n\026JOIN_TYPE_RIGHT_SIN" + "GLE\020\n\022\027\n\023JOIN_TYPE_LEFT_MARK\020\013\022\030\n\024JOIN_T" + "YPE_RIGHT_MARK\020\014\"\262\001\n\010CrossRel\022$\n\006common\030" + "\001 \001(\0132\024.substrait.RelCommon\022\034\n\004left\030\002 \001(" + "\0132\016.substrait.Rel\022\035\n\005right\030\003 \001(\0132\016.subst" + "rait.Rel\022C\n\022advanced_extension\030\n \001(\0132\'.s" + "ubstrait.extensions.AdvancedExtension\"\263\001" + "\n\010FetchRel\022$\n\006common\030\001 \001(\0132\024.substrait.R" "elCommon\022\035\n\005input\030\002 \001(\0132\016.substrait.Rel\022" - "*\n\013expressions\030\003 \003(\0132\025.substrait.Express" + "\016\n\006offset\030\003 \001(\003\022\r\n\005count\030\004 \001(\003\022C\n\022advanc" + "ed_extension\030\n \001(\0132\'.substrait.extension" + "s.AdvancedExtension\"\372\003\n\014AggregateRel\022$\n\006" + "common\030\001 \001(\0132\024.substrait.RelCommon\022\035\n\005in" + "put\030\002 \001(\0132\016.substrait.Rel\0223\n\tgroupings\030\003" + " \003(\0132 .substrait.AggregateRel.Grouping\0221" + "\n\010measures\030\004 \003(\0132\037.substrait.AggregateRe" + "l.Measure\0223\n\024grouping_expressions\030\005 \003(\0132" + "\025.substrait.Expression\022C\n\022advanced_exten" + "sion\030\n \001(\0132\'.substrait.extensions.Advanc" + "edExtension\032b\n\010Grouping\0227\n\024grouping_expr" + "essions\030\001 \003(\0132\025.substrait.ExpressionB\002\030\001" + "\022\035\n\025expression_references\030\002 \003(\r\032_\n\007Measu" + "re\022-\n\007measure\030\001 \001(\0132\034.substrait.Aggregat" + "eFunction\022%\n\006filter\030\002 \001(\0132\025.substrait.Ex" + "pression\"\310\006\n\034ConsistentPartitionWindowRe" + "l\022$\n\006common\030\001 \001(\0132\024.substrait.RelCommon\022" + "\035\n\005input\030\002 \001(\0132\016.substrait.Rel\022S\n\020window" + "_functions\030\003 \003(\01329.substrait.ConsistentP" + "artitionWindowRel.WindowRelFunction\0224\n\025p" + "artition_expressions\030\004 \003(\0132\025.substrait.E" + "xpression\022#\n\005sorts\030\005 \003(\0132\024.substrait.Sor" + "tField\022C\n\022advanced_extension\030\n \001(\0132\'.sub" + "strait.extensions.AdvancedExtension\032\355\003\n\021" + "WindowRelFunction\022\032\n\022function_reference\030" + "\001 \001(\r\022.\n\targuments\030\t \003(\0132\033.substrait.Fun" + "ctionArgument\022*\n\007options\030\013 \003(\0132\031.substra" + "it.FunctionOption\022$\n\013output_type\030\007 \001(\0132\017" + ".substrait.Type\022*\n\005phase\030\006 \001(\0162\033.substra" + "it.AggregationPhase\022F\n\ninvocation\030\n \001(\0162" + "2.substrait.AggregateFunction.Aggregatio" + "nInvocation\022\?\n\013lower_bound\030\005 \001(\0132*.subst" + "rait.Expression.WindowFunction.Bound\022\?\n\013" + "upper_bound\030\004 \001(\0132*.substrait.Expression" + ".WindowFunction.Bound\022D\n\013bounds_type\030\014 \001" + "(\0162/.substrait.Expression.WindowFunction" + ".BoundsType\"\270\001\n\007SortRel\022$\n\006common\030\001 \001(\0132" + "\024.substrait.RelCommon\022\035\n\005input\030\002 \001(\0132\016.s" + "ubstrait.Rel\022#\n\005sorts\030\003 \003(\0132\024.substrait." + "SortField\022C\n\022advanced_extension\030\n \001(\0132\'." + "substrait.extensions.AdvancedExtension\"\277" + "\001\n\tFilterRel\022$\n\006common\030\001 \001(\0132\024.substrait" + ".RelCommon\022\035\n\005input\030\002 \001(\0132\016.substrait.Re" + "l\022(\n\tcondition\030\003 \001(\0132\025.substrait.Express" "ion\022C\n\022advanced_extension\030\n \001(\0132\'.substr" - "ait.extensions.AdvancedExtension\"\361\003\n\007Joi" - "nRel\022$\n\006common\030\001 \001(\0132\024.substrait.RelComm" - "on\022\034\n\004left\030\002 \001(\0132\016.substrait.Rel\022\035\n\005righ" - "t\030\003 \001(\0132\016.substrait.Rel\022)\n\nexpression\030\004 " - "\001(\0132\025.substrait.Expression\022/\n\020post_join_" - "filter\030\005 \001(\0132\025.substrait.Expression\022)\n\004t" - "ype\030\006 \001(\0162\033.substrait.JoinRel.JoinType\022C" - "\n\022advanced_extension\030\n \001(\0132\'.substrait.e" - "xtensions.AdvancedExtension\"\266\001\n\010JoinType" - "\022\031\n\025JOIN_TYPE_UNSPECIFIED\020\000\022\023\n\017JOIN_TYPE" - "_INNER\020\001\022\023\n\017JOIN_TYPE_OUTER\020\002\022\022\n\016JOIN_TY" - "PE_LEFT\020\003\022\023\n\017JOIN_TYPE_RIGHT\020\004\022\022\n\016JOIN_T" - "YPE_SEMI\020\005\022\022\n\016JOIN_TYPE_ANTI\020\006\022\024\n\020JOIN_T" - "YPE_SINGLE\020\007\"\262\001\n\010CrossRel\022$\n\006common\030\001 \001(" - "\0132\024.substrait.RelCommon\022\034\n\004left\030\002 \001(\0132\016." - "substrait.Rel\022\035\n\005right\030\003 \001(\0132\016.substrait" - ".Rel\022C\n\022advanced_extension\030\n \001(\0132\'.subst" - "rait.extensions.AdvancedExtension\"\263\001\n\010Fe" - "tchRel\022$\n\006common\030\001 \001(\0132\024.substrait.RelCo" - "mmon\022\035\n\005input\030\002 \001(\0132\016.substrait.Rel\022\016\n\006o" - "ffset\030\003 \001(\003\022\r\n\005count\030\004 \001(\003\022C\n\022advanced_e" - "xtension\030\n \001(\0132\'.substrait.extensions.Ad" - "vancedExtension\"\242\003\n\014AggregateRel\022$\n\006comm" - "on\030\001 \001(\0132\024.substrait.RelCommon\022\035\n\005input\030" - "\002 \001(\0132\016.substrait.Rel\0223\n\tgroupings\030\003 \003(\013" - "2 .substrait.AggregateRel.Grouping\0221\n\010me" - "asures\030\004 \003(\0132\037.substrait.AggregateRel.Me" - "asure\022C\n\022advanced_extension\030\n \001(\0132\'.subs" - "trait.extensions.AdvancedExtension\032\?\n\010Gr" - "ouping\0223\n\024grouping_expressions\030\001 \003(\0132\025.s" - "ubstrait.Expression\032_\n\007Measure\022-\n\007measur" - "e\030\001 \001(\0132\034.substrait.AggregateFunction\022%\n" - "\006filter\030\002 \001(\0132\025.substrait.Expression\"\310\006\n" - "\034ConsistentPartitionWindowRel\022$\n\006common\030" - "\001 \001(\0132\024.substrait.RelCommon\022\035\n\005input\030\002 \001" - "(\0132\016.substrait.Rel\022S\n\020window_functions\030\003" - " \003(\01329.substrait.ConsistentPartitionWind" - "owRel.WindowRelFunction\0224\n\025partition_exp" - "ressions\030\004 \003(\0132\025.substrait.Expression\022#\n" - "\005sorts\030\005 \003(\0132\024.substrait.SortField\022C\n\022ad" - "vanced_extension\030\n \001(\0132\'.substrait.exten" - "sions.AdvancedExtension\032\355\003\n\021WindowRelFun" - "ction\022\032\n\022function_reference\030\001 \001(\r\022.\n\targ" - "uments\030\t \003(\0132\033.substrait.FunctionArgumen" - "t\022*\n\007options\030\013 \003(\0132\031.substrait.FunctionO" - "ption\022$\n\013output_type\030\007 \001(\0132\017.substrait.T" - "ype\022*\n\005phase\030\006 \001(\0162\033.substrait.Aggregati" - "onPhase\022F\n\ninvocation\030\n \001(\01622.substrait." - "AggregateFunction.AggregationInvocation\022" - "\?\n\013lower_bound\030\005 \001(\0132*.substrait.Express" - "ion.WindowFunction.Bound\022\?\n\013upper_bound\030" - "\004 \001(\0132*.substrait.Expression.WindowFunct" - "ion.Bound\022D\n\013bounds_type\030\014 \001(\0162/.substra" - "it.Expression.WindowFunction.BoundsType\"" - "\270\001\n\007SortRel\022$\n\006common\030\001 \001(\0132\024.substrait." - "RelCommon\022\035\n\005input\030\002 \001(\0132\016.substrait.Rel" - "\022#\n\005sorts\030\003 \003(\0132\024.substrait.SortField\022C\n" - "\022advanced_extension\030\n \001(\0132\'.substrait.ex" - "tensions.AdvancedExtension\"\277\001\n\tFilterRel" - "\022$\n\006common\030\001 \001(\0132\024.substrait.RelCommon\022\035" - "\n\005input\030\002 \001(\0132\016.substrait.Rel\022(\n\tconditi" - "on\030\003 \001(\0132\025.substrait.Expression\022C\n\022advan" - "ced_extension\030\n \001(\0132\'.substrait.extensio" - "ns.AdvancedExtension\"\203\003\n\006SetRel\022$\n\006commo" - "n\030\001 \001(\0132\024.substrait.RelCommon\022\036\n\006inputs\030" - "\002 \003(\0132\016.substrait.Rel\022#\n\002op\030\003 \001(\0162\027.subs" - "trait.SetRel.SetOp\022C\n\022advanced_extension" - "\030\n \001(\0132\'.substrait.extensions.AdvancedEx" - "tension\"\310\001\n\005SetOp\022\026\n\022SET_OP_UNSPECIFIED\020" - "\000\022\030\n\024SET_OP_MINUS_PRIMARY\020\001\022\031\n\025SET_OP_MI" - "NUS_MULTISET\020\002\022\037\n\033SET_OP_INTERSECTION_PR" - "IMARY\020\003\022 \n\034SET_OP_INTERSECTION_MULTISET\020" - "\004\022\031\n\025SET_OP_UNION_DISTINCT\020\005\022\024\n\020SET_OP_U" + "ait.extensions.AdvancedExtension\"\307\003\n\006Set" + "Rel\022$\n\006common\030\001 \001(\0132\024.substrait.RelCommo" + "n\022\036\n\006inputs\030\002 \003(\0132\016.substrait.Rel\022#\n\002op\030" + "\003 \001(\0162\027.substrait.SetRel.SetOp\022C\n\022advanc" + "ed_extension\030\n \001(\0132\'.substrait.extension" + "s.AdvancedExtension\"\214\002\n\005SetOp\022\026\n\022SET_OP_" + "UNSPECIFIED\020\000\022\030\n\024SET_OP_MINUS_PRIMARY\020\001\022" + "\034\n\030SET_OP_MINUS_PRIMARY_ALL\020\007\022\031\n\025SET_OP_" + "MINUS_MULTISET\020\002\022\037\n\033SET_OP_INTERSECTION_" + "PRIMARY\020\003\022 \n\034SET_OP_INTERSECTION_MULTISE" + "T\020\004\022$\n SET_OP_INTERSECTION_MULTISET_ALL\020" + "\010\022\031\n\025SET_OP_UNION_DISTINCT\020\005\022\024\n\020SET_OP_U" "NION_ALL\020\006\"\177\n\022ExtensionSingleRel\022$\n\006comm" "on\030\001 \001(\0132\024.substrait.RelCommon\022\035\n\005input\030" "\002 \001(\0132\016.substrait.Rel\022$\n\006detail\030\003 \001(\0132\024." @@ -3223,7 +3380,7 @@ const char descriptor_table_protodef_substrait_2falgebra_2eproto[] PROTOBUF_SECT "ISON_TYPE_UNSPECIFIED\020\000\022\035\n\031SIMPLE_COMPAR" "ISON_TYPE_EQ\020\001\022/\n+SIMPLE_COMPARISON_TYPE" "_IS_NOT_DISTINCT_FROM\020\002\022&\n\"SIMPLE_COMPAR" - "ISON_TYPE_MIGHT_EQUAL\020\003\"\235\005\n\013HashJoinRel\022" + "ISON_TYPE_MIGHT_EQUAL\020\003\"\207\006\n\013HashJoinRel\022" "$\n\006common\030\001 \001(\0132\024.substrait.RelCommon\022\034\n" "\004left\030\002 \001(\0132\016.substrait.Rel\022\035\n\005right\030\003 \001" "(\0132\016.substrait.Rel\022;\n\tleft_keys\030\004 \003(\0132$." @@ -3234,313 +3391,329 @@ const char descriptor_table_protodef_substrait_2falgebra_2eproto[] PROTOBUF_SECT "ilter\030\006 \001(\0132\025.substrait.Expression\022-\n\004ty" "pe\030\007 \001(\0162\037.substrait.HashJoinRel.JoinTyp" "e\022C\n\022advanced_extension\030\n \001(\0132\'.substrai" - "t.extensions.AdvancedExtension\"\336\001\n\010JoinT" + "t.extensions.AdvancedExtension\"\310\002\n\010JoinT" "ype\022\031\n\025JOIN_TYPE_UNSPECIFIED\020\000\022\023\n\017JOIN_T" "YPE_INNER\020\001\022\023\n\017JOIN_TYPE_OUTER\020\002\022\022\n\016JOIN" "_TYPE_LEFT\020\003\022\023\n\017JOIN_TYPE_RIGHT\020\004\022\027\n\023JOI" "N_TYPE_LEFT_SEMI\020\005\022\030\n\024JOIN_TYPE_RIGHT_SE" "MI\020\006\022\027\n\023JOIN_TYPE_LEFT_ANTI\020\007\022\030\n\024JOIN_TY" - "PE_RIGHT_ANTI\020\010\"\237\005\n\014MergeJoinRel\022$\n\006comm" - "on\030\001 \001(\0132\024.substrait.RelCommon\022\034\n\004left\030\002" - " \001(\0132\016.substrait.Rel\022\035\n\005right\030\003 \001(\0132\016.su" - "bstrait.Rel\022;\n\tleft_keys\030\004 \003(\0132$.substra" - "it.Expression.FieldReferenceB\002\030\001\022<\n\nrigh" - "t_keys\030\005 \003(\0132$.substrait.Expression.Fiel" - "dReferenceB\002\030\001\022*\n\004keys\030\010 \003(\0132\034.substrait" - ".ComparisonJoinKey\022/\n\020post_join_filter\030\006" - " \001(\0132\025.substrait.Expression\022.\n\004type\030\007 \001(" - "\0162 .substrait.MergeJoinRel.JoinType\022C\n\022a" - "dvanced_extension\030\n \001(\0132\'.substrait.exte" - "nsions.AdvancedExtension\"\336\001\n\010JoinType\022\031\n" - "\025JOIN_TYPE_UNSPECIFIED\020\000\022\023\n\017JOIN_TYPE_IN" - "NER\020\001\022\023\n\017JOIN_TYPE_OUTER\020\002\022\022\n\016JOIN_TYPE_" - "LEFT\020\003\022\023\n\017JOIN_TYPE_RIGHT\020\004\022\027\n\023JOIN_TYPE" - "_LEFT_SEMI\020\005\022\030\n\024JOIN_TYPE_RIGHT_SEMI\020\006\022\027" - "\n\023JOIN_TYPE_LEFT_ANTI\020\007\022\030\n\024JOIN_TYPE_RIG" - "HT_ANTI\020\010\"\374\003\n\021NestedLoopJoinRel\022$\n\006commo" - "n\030\001 \001(\0132\024.substrait.RelCommon\022\034\n\004left\030\002 " - "\001(\0132\016.substrait.Rel\022\035\n\005right\030\003 \001(\0132\016.sub" - "strait.Rel\022)\n\nexpression\030\004 \001(\0132\025.substra" - "it.Expression\0223\n\004type\030\005 \001(\0162%.substrait." - "NestedLoopJoinRel.JoinType\022C\n\022advanced_e" - "xtension\030\n \001(\0132\'.substrait.extensions.Ad" - "vancedExtension\"\336\001\n\010JoinType\022\031\n\025JOIN_TYP" - "E_UNSPECIFIED\020\000\022\023\n\017JOIN_TYPE_INNER\020\001\022\023\n\017" - "JOIN_TYPE_OUTER\020\002\022\022\n\016JOIN_TYPE_LEFT\020\003\022\023\n" - "\017JOIN_TYPE_RIGHT\020\004\022\027\n\023JOIN_TYPE_LEFT_SEM" - "I\020\005\022\030\n\024JOIN_TYPE_RIGHT_SEMI\020\006\022\027\n\023JOIN_TY" - "PE_LEFT_ANTI\020\007\022\030\n\024JOIN_TYPE_RIGHT_ANTI\020\010" - "\"w\n\020FunctionArgument\022\016\n\004enum\030\001 \001(\tH\000\022\037\n\004" - "type\030\002 \001(\0132\017.substrait.TypeH\000\022&\n\005value\030\003" - " \001(\0132\025.substrait.ExpressionH\000B\n\n\010arg_typ" - "e\"2\n\016FunctionOption\022\014\n\004name\030\001 \001(\t\022\022\n\npre" - "ference\030\002 \003(\t\"\225I\n\nExpression\0220\n\007literal\030" - "\001 \001(\0132\035.substrait.Expression.LiteralH\000\0229" - "\n\tselection\030\002 \001(\0132$.substrait.Expression" - ".FieldReferenceH\000\022\?\n\017scalar_function\030\003 \001" - "(\0132$.substrait.Expression.ScalarFunction" - "H\000\022\?\n\017window_function\030\005 \001(\0132$.substrait." - "Expression.WindowFunctionH\000\022/\n\007if_then\030\006" - " \001(\0132\034.substrait.Expression.IfThenH\000\022C\n\021" - "switch_expression\030\007 \001(\0132&.substrait.Expr" - "ession.SwitchExpressionH\000\022@\n\020singular_or" - "_list\030\010 \001(\0132$.substrait.Expression.Singu" - "larOrListH\000\022:\n\rmulti_or_list\030\t \001(\0132!.sub" - "strait.Expression.MultiOrListH\000\022*\n\004cast\030" - "\013 \001(\0132\032.substrait.Expression.CastH\000\0222\n\010s" - "ubquery\030\014 \001(\0132\036.substrait.Expression.Sub" - "queryH\000\022.\n\006nested\030\r \001(\0132\034.substrait.Expr" - "ession.NestedH\000\022.\n\004enum\030\n \001(\0132\032.substrai" - "t.Expression.EnumB\002\030\001H\000\032r\n\004Enum\022\023\n\tspeci" - "fied\030\001 \001(\tH\000\0227\n\013unspecified\030\002 \001(\0132 .subs" - "trait.Expression.Enum.EmptyH\000\032\013\n\005Empty:\002" - "\030\001:\002\030\001B\013\n\tenum_kind\032\216\017\n\007Literal\022\021\n\007boole" - "an\030\001 \001(\010H\000\022\014\n\002i8\030\002 \001(\005H\000\022\r\n\003i16\030\003 \001(\005H\000\022" - "\r\n\003i32\030\005 \001(\005H\000\022\r\n\003i64\030\007 \001(\003H\000\022\016\n\004fp32\030\n " - "\001(\002H\000\022\016\n\004fp64\030\013 \001(\001H\000\022\020\n\006string\030\014 \001(\tH\000\022" - "\020\n\006binary\030\r \001(\014H\000\022\027\n\ttimestamp\030\016 \001(\003B\002\030\001" - "H\000\022\016\n\004date\030\020 \001(\005H\000\022\016\n\004time\030\021 \001(\003H\000\022S\n\026in" - "terval_year_to_month\030\023 \001(\01321.substrait.E" - "xpression.Literal.IntervalYearToMonthH\000\022" - "S\n\026interval_day_to_second\030\024 \001(\01321.substr" + "PE_RIGHT_ANTI\020\010\022\031\n\025JOIN_TYPE_LEFT_SINGLE" + "\020\t\022\032\n\026JOIN_TYPE_RIGHT_SINGLE\020\n\022\027\n\023JOIN_T" + "YPE_LEFT_MARK\020\013\022\030\n\024JOIN_TYPE_RIGHT_MARK\020" + "\014\"\211\006\n\014MergeJoinRel\022$\n\006common\030\001 \001(\0132\024.sub" + "strait.RelCommon\022\034\n\004left\030\002 \001(\0132\016.substra" + "it.Rel\022\035\n\005right\030\003 \001(\0132\016.substrait.Rel\022;\n" + "\tleft_keys\030\004 \003(\0132$.substrait.Expression." + "FieldReferenceB\002\030\001\022<\n\nright_keys\030\005 \003(\0132$" + ".substrait.Expression.FieldReferenceB\002\030\001" + "\022*\n\004keys\030\010 \003(\0132\034.substrait.ComparisonJoi" + "nKey\022/\n\020post_join_filter\030\006 \001(\0132\025.substra" + "it.Expression\022.\n\004type\030\007 \001(\0162 .substrait." + "MergeJoinRel.JoinType\022C\n\022advanced_extens" + "ion\030\n \001(\0132\'.substrait.extensions.Advance" + "dExtension\"\310\002\n\010JoinType\022\031\n\025JOIN_TYPE_UNS" + "PECIFIED\020\000\022\023\n\017JOIN_TYPE_INNER\020\001\022\023\n\017JOIN_" + "TYPE_OUTER\020\002\022\022\n\016JOIN_TYPE_LEFT\020\003\022\023\n\017JOIN" + "_TYPE_RIGHT\020\004\022\027\n\023JOIN_TYPE_LEFT_SEMI\020\005\022\030" + "\n\024JOIN_TYPE_RIGHT_SEMI\020\006\022\027\n\023JOIN_TYPE_LE" + "FT_ANTI\020\007\022\030\n\024JOIN_TYPE_RIGHT_ANTI\020\010\022\031\n\025J" + "OIN_TYPE_LEFT_SINGLE\020\t\022\032\n\026JOIN_TYPE_RIGH" + "T_SINGLE\020\n\022\027\n\023JOIN_TYPE_LEFT_MARK\020\013\022\030\n\024J" + "OIN_TYPE_RIGHT_MARK\020\014\"\346\004\n\021NestedLoopJoin" + "Rel\022$\n\006common\030\001 \001(\0132\024.substrait.RelCommo" + "n\022\034\n\004left\030\002 \001(\0132\016.substrait.Rel\022\035\n\005right" + "\030\003 \001(\0132\016.substrait.Rel\022)\n\nexpression\030\004 \001" + "(\0132\025.substrait.Expression\0223\n\004type\030\005 \001(\0162" + "%.substrait.NestedLoopJoinRel.JoinType\022C" + "\n\022advanced_extension\030\n \001(\0132\'.substrait.e" + "xtensions.AdvancedExtension\"\310\002\n\010JoinType" + "\022\031\n\025JOIN_TYPE_UNSPECIFIED\020\000\022\023\n\017JOIN_TYPE" + "_INNER\020\001\022\023\n\017JOIN_TYPE_OUTER\020\002\022\022\n\016JOIN_TY" + "PE_LEFT\020\003\022\023\n\017JOIN_TYPE_RIGHT\020\004\022\027\n\023JOIN_T" + "YPE_LEFT_SEMI\020\005\022\030\n\024JOIN_TYPE_RIGHT_SEMI\020" + "\006\022\027\n\023JOIN_TYPE_LEFT_ANTI\020\007\022\030\n\024JOIN_TYPE_" + "RIGHT_ANTI\020\010\022\031\n\025JOIN_TYPE_LEFT_SINGLE\020\t\022" + "\032\n\026JOIN_TYPE_RIGHT_SINGLE\020\n\022\027\n\023JOIN_TYPE" + "_LEFT_MARK\020\013\022\030\n\024JOIN_TYPE_RIGHT_MARK\020\014\"w" + "\n\020FunctionArgument\022\016\n\004enum\030\001 \001(\tH\000\022\037\n\004ty" + "pe\030\002 \001(\0132\017.substrait.TypeH\000\022&\n\005value\030\003 \001" + "(\0132\025.substrait.ExpressionH\000B\n\n\010arg_type\"" + "2\n\016FunctionOption\022\014\n\004name\030\001 \001(\t\022\022\n\nprefe" + "rence\030\002 \003(\t\"\337K\n\nExpression\0220\n\007literal\030\001 " + "\001(\0132\035.substrait.Expression.LiteralH\000\0229\n\t" + "selection\030\002 \001(\0132$.substrait.Expression.F" + "ieldReferenceH\000\022\?\n\017scalar_function\030\003 \001(\013" + "2$.substrait.Expression.ScalarFunctionH\000" + "\022\?\n\017window_function\030\005 \001(\0132$.substrait.Ex" + "pression.WindowFunctionH\000\022/\n\007if_then\030\006 \001" + "(\0132\034.substrait.Expression.IfThenH\000\022C\n\021sw" + "itch_expression\030\007 \001(\0132&.substrait.Expres" + "sion.SwitchExpressionH\000\022@\n\020singular_or_l" + "ist\030\010 \001(\0132$.substrait.Expression.Singula" + "rOrListH\000\022:\n\rmulti_or_list\030\t \001(\0132!.subst" + "rait.Expression.MultiOrListH\000\022*\n\004cast\030\013 " + "\001(\0132\032.substrait.Expression.CastH\000\0222\n\010sub" + "query\030\014 \001(\0132\036.substrait.Expression.Subqu" + "eryH\000\022.\n\006nested\030\r \001(\0132\034.substrait.Expres" + "sion.NestedH\000\022.\n\004enum\030\n \001(\0132\032.substrait." + "Expression.EnumB\002\030\001H\000\032r\n\004Enum\022\023\n\tspecifi" + "ed\030\001 \001(\tH\000\0227\n\013unspecified\030\002 \001(\0132 .substr" + "ait.Expression.Enum.EmptyH\000\032\013\n\005Empty:\002\030\001" + ":\002\030\001B\013\n\tenum_kind\032\330\021\n\007Literal\022\021\n\007boolean" + "\030\001 \001(\010H\000\022\014\n\002i8\030\002 \001(\005H\000\022\r\n\003i16\030\003 \001(\005H\000\022\r\n" + "\003i32\030\005 \001(\005H\000\022\r\n\003i64\030\007 \001(\003H\000\022\016\n\004fp32\030\n \001(" + "\002H\000\022\016\n\004fp64\030\013 \001(\001H\000\022\020\n\006string\030\014 \001(\tH\000\022\020\n" + "\006binary\030\r \001(\014H\000\022\027\n\ttimestamp\030\016 \001(\003B\002\030\001H\000" + "\022\016\n\004date\030\020 \001(\005H\000\022\016\n\004time\030\021 \001(\003H\000\022S\n\026inte" + "rval_year_to_month\030\023 \001(\01321.substrait.Exp" + "ression.Literal.IntervalYearToMonthH\000\022S\n" + "\026interval_day_to_second\030\024 \001(\01321.substrai" + "t.Expression.Literal.IntervalDayToSecond" + "H\000\022K\n\021interval_compound\030$ \001(\0132..substrai" + "t.Expression.Literal.IntervalCompoundH\000\022" + "\024\n\nfixed_char\030\025 \001(\tH\000\0229\n\010var_char\030\026 \001(\0132" + "%.substrait.Expression.Literal.VarCharH\000" + "\022\026\n\014fixed_binary\030\027 \001(\014H\000\0228\n\007decimal\030\030 \001(" + "\0132%.substrait.Expression.Literal.Decimal" + "H\000\022O\n\023precision_timestamp\030\" \001(\01320.substr" + "ait.Expression.Literal.PrecisionTimestam" + "pH\000\022R\n\026precision_timestamp_tz\030# \001(\01320.su" + "bstrait.Expression.Literal.PrecisionTime" + "stampH\000\0226\n\006struct\030\031 \001(\0132$.substrait.Expr" + "ession.Literal.StructH\000\0220\n\003map\030\032 \001(\0132!.s" + "ubstrait.Expression.Literal.MapH\000\022\032\n\014tim" + "estamp_tz\030\033 \001(\003B\002\030\001H\000\022\016\n\004uuid\030\034 \001(\014H\000\022\037\n" + "\004null\030\035 \001(\0132\017.substrait.TypeH\000\0222\n\004list\030\036" + " \001(\0132\".substrait.Expression.Literal.List" + "H\000\022*\n\nempty_list\030\037 \001(\0132\024.substrait.Type." + "ListH\000\022(\n\tempty_map\030 \001(\0132\023.substrait.Ty" + "pe.MapH\000\022A\n\014user_defined\030! \001(\0132).substra" + "it.Expression.Literal.UserDefinedH\000\022\020\n\010n" + "ullable\0302 \001(\010\022 \n\030type_variation_referenc" + "e\0303 \001(\r\032(\n\007VarChar\022\r\n\005value\030\001 \001(\t\022\016\n\006len" + "gth\030\002 \001(\r\032:\n\007Decimal\022\r\n\005value\030\001 \001(\014\022\021\n\tp" + "recision\030\002 \001(\005\022\r\n\005scale\030\003 \001(\005\0326\n\022Precisi" + "onTimestamp\022\021\n\tprecision\030\001 \001(\005\022\r\n\005value\030" + "\002 \001(\003\032\253\001\n\003Map\022>\n\nkey_values\030\001 \003(\0132*.subs" + "trait.Expression.Literal.Map.KeyValue\032d\n" + "\010KeyValue\022*\n\003key\030\001 \001(\0132\035.substrait.Expre" + "ssion.Literal\022,\n\005value\030\002 \001(\0132\035.substrait" + ".Expression.Literal\0324\n\023IntervalYearToMon" + "th\022\r\n\005years\030\001 \001(\005\022\016\n\006months\030\002 \001(\005\032\213\001\n\023In" + "tervalDayToSecond\022\014\n\004days\030\001 \001(\005\022\017\n\007secon" + "ds\030\002 \001(\005\022\032\n\014microseconds\030\003 \001(\005B\002\030\001H\000\022\023\n\t" + "precision\030\004 \001(\005H\000\022\022\n\nsubseconds\030\005 \001(\003B\020\n" + "\016precision_mode\032\270\001\n\020IntervalCompound\022Q\n\026" + "interval_year_to_month\030\001 \001(\01321.substrait" + ".Expression.Literal.IntervalYearToMonth\022" + "Q\n\026interval_day_to_second\030\002 \001(\01321.substr" "ait.Expression.Literal.IntervalDayToSeco" - "ndH\000\022\024\n\nfixed_char\030\025 \001(\tH\000\0229\n\010var_char\030\026" - " \001(\0132%.substrait.Expression.Literal.VarC" - "harH\000\022\026\n\014fixed_binary\030\027 \001(\014H\000\0228\n\007decimal" - "\030\030 \001(\0132%.substrait.Expression.Literal.De" - "cimalH\000\022O\n\023precision_timestamp\030\" \001(\01320.s" - "ubstrait.Expression.Literal.PrecisionTim" - "estampH\000\022R\n\026precision_timestamp_tz\030# \001(\013" - "20.substrait.Expression.Literal.Precisio" - "nTimestampH\000\0226\n\006struct\030\031 \001(\0132$.substrait" - ".Expression.Literal.StructH\000\0220\n\003map\030\032 \001(" - "\0132!.substrait.Expression.Literal.MapH\000\022\032" - "\n\014timestamp_tz\030\033 \001(\003B\002\030\001H\000\022\016\n\004uuid\030\034 \001(\014" - "H\000\022\037\n\004null\030\035 \001(\0132\017.substrait.TypeH\000\0222\n\004l" - "ist\030\036 \001(\0132\".substrait.Expression.Literal" - ".ListH\000\022*\n\nempty_list\030\037 \001(\0132\024.substrait." - "Type.ListH\000\022(\n\tempty_map\030 \001(\0132\023.substra" - "it.Type.MapH\000\022A\n\014user_defined\030! \001(\0132).su" - "bstrait.Expression.Literal.UserDefinedH\000" - "\022\020\n\010nullable\0302 \001(\010\022 \n\030type_variation_ref" - "erence\0303 \001(\r\032(\n\007VarChar\022\r\n\005value\030\001 \001(\t\022\016" - "\n\006length\030\002 \001(\r\032:\n\007Decimal\022\r\n\005value\030\001 \001(\014" - "\022\021\n\tprecision\030\002 \001(\005\022\r\n\005scale\030\003 \001(\005\0326\n\022Pr" - "ecisionTimestamp\022\021\n\tprecision\030\001 \001(\005\022\r\n\005v" - "alue\030\002 \001(\003\032\253\001\n\003Map\022>\n\nkey_values\030\001 \003(\0132*" - ".substrait.Expression.Literal.Map.KeyVal" - "ue\032d\n\010KeyValue\022*\n\003key\030\001 \001(\0132\035.substrait." - "Expression.Literal\022,\n\005value\030\002 \001(\0132\035.subs" - "trait.Expression.Literal\0324\n\023IntervalYear" - "ToMonth\022\r\n\005years\030\001 \001(\005\022\016\n\006months\030\002 \001(\005\032J" - "\n\023IntervalDayToSecond\022\014\n\004days\030\001 \001(\005\022\017\n\007s" - "econds\030\002 \001(\005\022\024\n\014microseconds\030\003 \001(\005\0327\n\006St" - "ruct\022-\n\006fields\030\001 \003(\0132\035.substrait.Express" - "ion.Literal\0325\n\004List\022-\n\006values\030\001 \003(\0132\035.su" - "bstrait.Expression.Literal\032\277\001\n\013UserDefin" - "ed\022\026\n\016type_reference\030\001 \001(\r\0222\n\017type_param" - "eters\030\003 \003(\0132\031.substrait.Type.Parameter\022%" - "\n\005value\030\002 \001(\0132\024.google.protobuf.AnyH\000\0226\n" - "\006struct\030\004 \001(\0132$.substrait.Expression.Lit" - "eral.StructH\000B\005\n\003valB\016\n\014literal_type\032\343\003\n" - "\006Nested\022\020\n\010nullable\030\001 \001(\010\022 \n\030type_variat" - "ion_reference\030\002 \001(\r\0225\n\006struct\030\003 \001(\0132#.su" - "bstrait.Expression.Nested.StructH\000\0221\n\004li" - "st\030\004 \001(\0132!.substrait.Expression.Nested.L" - "istH\000\022/\n\003map\030\005 \001(\0132 .substrait.Expressio" - "n.Nested.MapH\000\032\232\001\n\003Map\022=\n\nkey_values\030\001 \003" - "(\0132).substrait.Expression.Nested.Map.Key" - "Value\032T\n\010KeyValue\022\"\n\003key\030\001 \001(\0132\025.substra" - "it.Expression\022$\n\005value\030\002 \001(\0132\025.substrait" - ".Expression\032/\n\006Struct\022%\n\006fields\030\001 \003(\0132\025." - "substrait.Expression\032-\n\004List\022%\n\006values\030\001" - " \003(\0132\025.substrait.ExpressionB\r\n\013nested_ty" - "pe\032\327\001\n\016ScalarFunction\022\032\n\022function_refere" - "nce\030\001 \001(\r\022.\n\targuments\030\004 \003(\0132\033.substrait" - ".FunctionArgument\022*\n\007options\030\005 \003(\0132\031.sub" - "strait.FunctionOption\022$\n\013output_type\030\003 \001" - "(\0132\017.substrait.Type\022\'\n\004args\030\002 \003(\0132\025.subs" - "trait.ExpressionB\002\030\001\032\321\010\n\016WindowFunction\022" - "\032\n\022function_reference\030\001 \001(\r\022.\n\targuments" - "\030\t \003(\0132\033.substrait.FunctionArgument\022*\n\007o" - "ptions\030\013 \003(\0132\031.substrait.FunctionOption\022" - "$\n\013output_type\030\007 \001(\0132\017.substrait.Type\022*\n" - "\005phase\030\006 \001(\0162\033.substrait.AggregationPhas" - "e\022#\n\005sorts\030\003 \003(\0132\024.substrait.SortField\022F" - "\n\ninvocation\030\n \001(\01622.substrait.Aggregate" - "Function.AggregationInvocation\022)\n\npartit" - "ions\030\002 \003(\0132\025.substrait.Expression\022D\n\013bou" - "nds_type\030\014 \001(\0162/.substrait.Expression.Wi" - "ndowFunction.BoundsType\022\?\n\013lower_bound\030\005" - " \001(\0132*.substrait.Expression.WindowFuncti" - "on.Bound\022\?\n\013upper_bound\030\004 \001(\0132*.substrai" - "t.Expression.WindowFunction.Bound\022\'\n\004arg" - "s\030\010 \003(\0132\025.substrait.ExpressionB\002\030\001\032\223\003\n\005B" - "ound\022I\n\tpreceding\030\001 \001(\01324.substrait.Expr" - "ession.WindowFunction.Bound.PrecedingH\000\022" - "I\n\tfollowing\030\002 \001(\01324.substrait.Expressio" - "n.WindowFunction.Bound.FollowingH\000\022L\n\013cu" - "rrent_row\030\003 \001(\01325.substrait.Expression.W" - "indowFunction.Bound.CurrentRowH\000\022I\n\tunbo" - "unded\030\004 \001(\01324.substrait.Expression.Windo" - "wFunction.Bound.UnboundedH\000\032\033\n\tPreceding" - "\022\016\n\006offset\030\001 \001(\003\032\033\n\tFollowing\022\016\n\006offset\030" - "\001 \001(\003\032\014\n\nCurrentRow\032\013\n\tUnboundedB\006\n\004kind" - "\"V\n\nBoundsType\022\033\n\027BOUNDS_TYPE_UNSPECIFIE" - "D\020\000\022\024\n\020BOUNDS_TYPE_ROWS\020\001\022\025\n\021BOUNDS_TYPE" - "_RANGE\020\002\032\265\001\n\006IfThen\0222\n\003ifs\030\001 \003(\0132%.subst" - "rait.Expression.IfThen.IfClause\022#\n\004else\030" - "\002 \001(\0132\025.substrait.Expression\032R\n\010IfClause" - "\022!\n\002if\030\001 \001(\0132\025.substrait.Expression\022#\n\004t" - "hen\030\002 \001(\0132\025.substrait.Expression\032\216\002\n\004Cas" - "t\022\035\n\004type\030\001 \001(\0132\017.substrait.Type\022$\n\005inpu" - "t\030\002 \001(\0132\025.substrait.Expression\022D\n\020failur" - "e_behavior\030\003 \001(\0162*.substrait.Expression." - "Cast.FailureBehavior\"{\n\017FailureBehavior\022" - " \n\034FAILURE_BEHAVIOR_UNSPECIFIED\020\000\022 \n\034FAI" - "LURE_BEHAVIOR_RETURN_NULL\020\001\022$\n FAILURE_B" - "EHAVIOR_THROW_EXCEPTION\020\002\032\365\001\n\020SwitchExpr" - "ession\022$\n\005match\030\003 \001(\0132\025.substrait.Expres" - "sion\022;\n\003ifs\030\001 \003(\0132..substrait.Expression" - ".SwitchExpression.IfValue\022#\n\004else\030\002 \001(\0132" - "\025.substrait.Expression\032Y\n\007IfValue\022)\n\002if\030" - "\001 \001(\0132\035.substrait.Expression.Literal\022#\n\004" - "then\030\002 \001(\0132\025.substrait.Expression\032^\n\016Sin" - "gularOrList\022$\n\005value\030\001 \001(\0132\025.substrait.E" - "xpression\022&\n\007options\030\002 \003(\0132\025.substrait.E" - "xpression\032\237\001\n\013MultiOrList\022$\n\005value\030\001 \003(\013" - "2\025.substrait.Expression\0229\n\007options\030\002 \003(\013" - "2(.substrait.Expression.MultiOrList.Reco" - "rd\032/\n\006Record\022%\n\006fields\030\001 \003(\0132\025.substrait" - ".Expression\032\243\003\n\020EmbeddedFunction\022(\n\targu" - "ments\030\001 \003(\0132\025.substrait.Expression\022$\n\013ou" - "tput_type\030\002 \001(\0132\017.substrait.Type\022]\n\026pyth" - "on_pickle_function\030\003 \001(\0132;.substrait.Exp" - "ression.EmbeddedFunction.PythonPickleFun" - "ctionH\000\022[\n\025web_assembly_function\030\004 \001(\0132:" - ".substrait.Expression.EmbeddedFunction.W" - "ebAssemblyFunctionH\000\032>\n\024PythonPickleFunc" - "tion\022\020\n\010function\030\001 \001(\014\022\024\n\014prerequisite\030\002" - " \003(\t\032;\n\023WebAssemblyFunction\022\016\n\006script\030\001 " - "\001(\014\022\024\n\014prerequisite\030\002 \003(\tB\006\n\004kind\032\232\004\n\020Re" - "ferenceSegment\022@\n\007map_key\030\001 \001(\0132-.substr" - "ait.Expression.ReferenceSegment.MapKeyH\000" - "\022J\n\014struct_field\030\002 \001(\01322.substrait.Expre" - "ssion.ReferenceSegment.StructFieldH\000\022J\n\014" - "list_element\030\003 \001(\01322.substrait.Expressio" - "n.ReferenceSegment.ListElementH\000\032o\n\006MapK" - "ey\022.\n\007map_key\030\001 \001(\0132\035.substrait.Expressi" - "on.Literal\0225\n\005child\030\002 \001(\0132&.substrait.Ex" - "pression.ReferenceSegment\032S\n\013StructField" - "\022\r\n\005field\030\001 \001(\005\0225\n\005child\030\002 \001(\0132&.substra" - "it.Expression.ReferenceSegment\032T\n\013ListEl" - "ement\022\016\n\006offset\030\001 \001(\005\0225\n\005child\030\002 \001(\0132&.s" - "ubstrait.Expression.ReferenceSegmentB\020\n\016" - "reference_type\032\360\t\n\016MaskExpression\022A\n\006sel" - "ect\030\001 \001(\01321.substrait.Expression.MaskExp" - "ression.StructSelect\022 \n\030maintain_singula" - "r_struct\030\002 \001(\010\032\325\001\n\006Select\022C\n\006struct\030\001 \001(" - "\01321.substrait.Expression.MaskExpression." - "StructSelectH\000\022\?\n\004list\030\002 \001(\0132/.substrait" - ".Expression.MaskExpression.ListSelectH\000\022" - "=\n\003map\030\003 \001(\0132..substrait.Expression.Mask" - "Expression.MapSelectH\000B\006\n\004type\032U\n\014Struct" - "Select\022E\n\014struct_items\030\001 \003(\0132/.substrait" - ".Expression.MaskExpression.StructItem\032W\n" - "\nStructItem\022\r\n\005field\030\001 \001(\005\022:\n\005child\030\002 \001(" - "\0132+.substrait.Expression.MaskExpression." - "Select\032\264\003\n\nListSelect\022Q\n\tselection\030\001 \003(\013" - "2>.substrait.Expression.MaskExpression.L" - "istSelect.ListSelectItem\022:\n\005child\030\002 \001(\0132" - "+.substrait.Expression.MaskExpression.Se" - "lect\032\226\002\n\016ListSelectItem\022Z\n\004item\030\001 \001(\0132J." - "substrait.Expression.MaskExpression.List" - "Select.ListSelectItem.ListElementH\000\022Y\n\005s" - "lice\030\002 \001(\0132H.substrait.Expression.MaskEx" - "pression.ListSelect.ListSelectItem.ListS" - "liceH\000\032\034\n\013ListElement\022\r\n\005field\030\001 \001(\005\032\'\n\t" - "ListSlice\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005B\006\n" - "\004type\032\271\002\n\tMapSelect\022D\n\003key\030\001 \001(\01325.subst" - "rait.Expression.MaskExpression.MapSelect" - ".MapKeyH\000\022U\n\nexpression\030\002 \001(\0132\?.substrai" - "t.Expression.MaskExpression.MapSelect.Ma" - "pKeyExpressionH\000\022:\n\005child\030\003 \001(\0132+.substr" - "ait.Expression.MaskExpression.Select\032\031\n\006" - "MapKey\022\017\n\007map_key\030\001 \001(\t\032.\n\020MapKeyExpress" - "ion\022\032\n\022map_key_expression\030\001 \001(\tB\010\n\006selec" - "t\032\266\003\n\016FieldReference\022B\n\020direct_reference" - "\030\001 \001(\0132&.substrait.Expression.ReferenceS" - "egmentH\000\022@\n\020masked_reference\030\002 \001(\0132$.sub" - "strait.Expression.MaskExpressionH\000\022+\n\nex" - "pression\030\003 \001(\0132\025.substrait.ExpressionH\001\022" - "L\n\016root_reference\030\004 \001(\01322.substrait.Expr" - "ession.FieldReference.RootReferenceH\001\022N\n" - "\017outer_reference\030\005 \001(\01323.substrait.Expre" - "ssion.FieldReference.OuterReferenceH\001\032\017\n" - "\rRootReference\032#\n\016OuterReference\022\021\n\tstep" - "s_out\030\001 \001(\rB\020\n\016reference_typeB\013\n\troot_ty" - "pe\032\214\t\n\010Subquery\0227\n\006scalar\030\001 \001(\0132%.substr" - "ait.Expression.Subquery.ScalarH\000\022B\n\014in_p" - "redicate\030\002 \001(\0132*.substrait.Expression.Su" - "bquery.InPredicateH\000\022D\n\rset_predicate\030\003 " - "\001(\0132+.substrait.Expression.Subquery.SetP" - "redicateH\000\022F\n\016set_comparison\030\004 \001(\0132,.sub" - "strait.Expression.Subquery.SetComparison" - "H\000\032\'\n\006Scalar\022\035\n\005input\030\001 \001(\0132\016.substrait." - "Rel\032W\n\013InPredicate\022&\n\007needles\030\001 \003(\0132\025.su" - "bstrait.Expression\022 \n\010haystack\030\002 \001(\0132\016.s" - "ubstrait.Rel\032\334\001\n\014SetPredicate\022M\n\014predica" - "te_op\030\001 \001(\01627.substrait.Expression.Subqu" - "ery.SetPredicate.PredicateOp\022\036\n\006tuples\030\002" - " \001(\0132\016.substrait.Rel\"]\n\013PredicateOp\022\034\n\030P" - "REDICATE_OP_UNSPECIFIED\020\000\022\027\n\023PREDICATE_O" - "P_EXISTS\020\001\022\027\n\023PREDICATE_OP_UNIQUE\020\002\032\202\004\n\r" - "SetComparison\022N\n\014reduction_op\030\001 \001(\01628.su" - "bstrait.Expression.Subquery.SetCompariso" - "n.ReductionOp\022P\n\rcomparison_op\030\002 \001(\01629.s" - "ubstrait.Expression.Subquery.SetComparis" - "on.ComparisonOp\022#\n\004left\030\003 \001(\0132\025.substrai" - "t.Expression\022\035\n\005right\030\004 \001(\0132\016.substrait." - "Rel\"\261\001\n\014ComparisonOp\022\035\n\031COMPARISON_OP_UN" - "SPECIFIED\020\000\022\024\n\020COMPARISON_OP_EQ\020\001\022\024\n\020COM" - "PARISON_OP_NE\020\002\022\024\n\020COMPARISON_OP_LT\020\003\022\024\n" - "\020COMPARISON_OP_GT\020\004\022\024\n\020COMPARISON_OP_LE\020" - "\005\022\024\n\020COMPARISON_OP_GE\020\006\"W\n\013ReductionOp\022\034" - "\n\030REDUCTION_OP_UNSPECIFIED\020\000\022\024\n\020REDUCTIO" - "N_OP_ANY\020\001\022\024\n\020REDUCTION_OP_ALL\020\002B\017\n\rsubq" - "uery_typeB\n\n\010rex_type\"\377\002\n\tSortField\022#\n\004e" - "xpr\030\001 \001(\0132\025.substrait.Expression\0227\n\tdire" - "ction\030\002 \001(\0162\".substrait.SortField.SortDi" - "rectionH\000\022\'\n\035comparison_function_referen" - "ce\030\003 \001(\rH\000\"\335\001\n\rSortDirection\022\036\n\032SORT_DIR" - "ECTION_UNSPECIFIED\020\000\022\"\n\036SORT_DIRECTION_A" - "SC_NULLS_FIRST\020\001\022!\n\035SORT_DIRECTION_ASC_N" - "ULLS_LAST\020\002\022#\n\037SORT_DIRECTION_DESC_NULLS" - "_FIRST\020\003\022\"\n\036SORT_DIRECTION_DESC_NULLS_LA" - "ST\020\004\022\034\n\030SORT_DIRECTION_CLUSTERED\020\005B\013\n\tso" - "rt_kind\"\372\003\n\021AggregateFunction\022\032\n\022functio" - "n_reference\030\001 \001(\r\022.\n\targuments\030\007 \003(\0132\033.s" - "ubstrait.FunctionArgument\022*\n\007options\030\010 \003" + "nd\0327\n\006Struct\022-\n\006fields\030\001 \003(\0132\035.substrait" + ".Expression.Literal\0325\n\004List\022-\n\006values\030\001 " + "\003(\0132\035.substrait.Expression.Literal\032\277\001\n\013U" + "serDefined\022\026\n\016type_reference\030\001 \001(\r\0222\n\017ty" + "pe_parameters\030\003 \003(\0132\031.substrait.Type.Par" + "ameter\022%\n\005value\030\002 \001(\0132\024.google.protobuf." + "AnyH\000\0226\n\006struct\030\004 \001(\0132$.substrait.Expres" + "sion.Literal.StructH\000B\005\n\003valB\016\n\014literal_" + "type\032\343\003\n\006Nested\022\020\n\010nullable\030\001 \001(\010\022 \n\030typ" + "e_variation_reference\030\002 \001(\r\0225\n\006struct\030\003 " + "\001(\0132#.substrait.Expression.Nested.Struct" + "H\000\0221\n\004list\030\004 \001(\0132!.substrait.Expression." + "Nested.ListH\000\022/\n\003map\030\005 \001(\0132 .substrait.E" + "xpression.Nested.MapH\000\032\232\001\n\003Map\022=\n\nkey_va" + "lues\030\001 \003(\0132).substrait.Expression.Nested" + ".Map.KeyValue\032T\n\010KeyValue\022\"\n\003key\030\001 \001(\0132\025" + ".substrait.Expression\022$\n\005value\030\002 \001(\0132\025.s" + "ubstrait.Expression\032/\n\006Struct\022%\n\006fields\030" + "\001 \003(\0132\025.substrait.Expression\032-\n\004List\022%\n\006" + "values\030\001 \003(\0132\025.substrait.ExpressionB\r\n\013n" + "ested_type\032\327\001\n\016ScalarFunction\022\032\n\022functio" + "n_reference\030\001 \001(\r\022.\n\targuments\030\004 \003(\0132\033.s" + "ubstrait.FunctionArgument\022*\n\007options\030\005 \003" "(\0132\031.substrait.FunctionOption\022$\n\013output_" - "type\030\005 \001(\0132\017.substrait.Type\022*\n\005phase\030\004 \001" - "(\0162\033.substrait.AggregationPhase\022#\n\005sorts" - "\030\003 \003(\0132\024.substrait.SortField\022F\n\ninvocati" - "on\030\006 \001(\01622.substrait.AggregateFunction.A" - "ggregationInvocation\022\'\n\004args\030\002 \003(\0132\025.sub" - "strait.ExpressionB\002\030\001\"\204\001\n\025AggregationInv" - "ocation\022&\n\"AGGREGATION_INVOCATION_UNSPEC" - "IFIED\020\000\022\036\n\032AGGREGATION_INVOCATION_ALL\020\001\022" - "#\n\037AGGREGATION_INVOCATION_DISTINCT\020\002\"\'\n\014" - "ReferenceRel\022\027\n\017subtree_ordinal\030\001 \001(\005*\357\001" - "\n\020AggregationPhase\022!\n\035AGGREGATION_PHASE_" - "UNSPECIFIED\020\000\022-\n)AGGREGATION_PHASE_INITI" - "AL_TO_INTERMEDIATE\020\001\0222\n.AGGREGATION_PHAS" - "E_INTERMEDIATE_TO_INTERMEDIATE\020\002\022\'\n#AGGR" - "EGATION_PHASE_INITIAL_TO_RESULT\020\003\022,\n(AGG" - "REGATION_PHASE_INTERMEDIATE_TO_RESULT\020\004B" - "W\n\022io.substrait.protoP\001Z*github.com/subs" - "trait-io/substrait-go/proto\252\002\022Substrait." - "Protobufb\006proto3" + "type\030\003 \001(\0132\017.substrait.Type\022\'\n\004args\030\002 \003(" + "\0132\025.substrait.ExpressionB\002\030\001\032\321\010\n\016WindowF" + "unction\022\032\n\022function_reference\030\001 \001(\r\022.\n\ta" + "rguments\030\t \003(\0132\033.substrait.FunctionArgum" + "ent\022*\n\007options\030\013 \003(\0132\031.substrait.Functio" + "nOption\022$\n\013output_type\030\007 \001(\0132\017.substrait" + ".Type\022*\n\005phase\030\006 \001(\0162\033.substrait.Aggrega" + "tionPhase\022#\n\005sorts\030\003 \003(\0132\024.substrait.Sor" + "tField\022F\n\ninvocation\030\n \001(\01622.substrait.A" + "ggregateFunction.AggregationInvocation\022)" + "\n\npartitions\030\002 \003(\0132\025.substrait.Expressio" + "n\022D\n\013bounds_type\030\014 \001(\0162/.substrait.Expre" + "ssion.WindowFunction.BoundsType\022\?\n\013lower" + "_bound\030\005 \001(\0132*.substrait.Expression.Wind" + "owFunction.Bound\022\?\n\013upper_bound\030\004 \001(\0132*." + "substrait.Expression.WindowFunction.Boun" + "d\022\'\n\004args\030\010 \003(\0132\025.substrait.ExpressionB\002" + "\030\001\032\223\003\n\005Bound\022I\n\tpreceding\030\001 \001(\01324.substr" + "ait.Expression.WindowFunction.Bound.Prec" + "edingH\000\022I\n\tfollowing\030\002 \001(\01324.substrait.E" + "xpression.WindowFunction.Bound.Following" + "H\000\022L\n\013current_row\030\003 \001(\01325.substrait.Expr" + "ession.WindowFunction.Bound.CurrentRowH\000" + "\022I\n\tunbounded\030\004 \001(\01324.substrait.Expressi" + "on.WindowFunction.Bound.UnboundedH\000\032\033\n\tP" + "receding\022\016\n\006offset\030\001 \001(\003\032\033\n\tFollowing\022\016\n" + "\006offset\030\001 \001(\003\032\014\n\nCurrentRow\032\013\n\tUnbounded" + "B\006\n\004kind\"V\n\nBoundsType\022\033\n\027BOUNDS_TYPE_UN" + "SPECIFIED\020\000\022\024\n\020BOUNDS_TYPE_ROWS\020\001\022\025\n\021BOU" + "NDS_TYPE_RANGE\020\002\032\265\001\n\006IfThen\0222\n\003ifs\030\001 \003(\013" + "2%.substrait.Expression.IfThen.IfClause\022" + "#\n\004else\030\002 \001(\0132\025.substrait.Expression\032R\n\010" + "IfClause\022!\n\002if\030\001 \001(\0132\025.substrait.Express" + "ion\022#\n\004then\030\002 \001(\0132\025.substrait.Expression" + "\032\216\002\n\004Cast\022\035\n\004type\030\001 \001(\0132\017.substrait.Type" + "\022$\n\005input\030\002 \001(\0132\025.substrait.Expression\022D" + "\n\020failure_behavior\030\003 \001(\0162*.substrait.Exp" + "ression.Cast.FailureBehavior\"{\n\017FailureB" + "ehavior\022 \n\034FAILURE_BEHAVIOR_UNSPECIFIED\020" + "\000\022 \n\034FAILURE_BEHAVIOR_RETURN_NULL\020\001\022$\n F" + "AILURE_BEHAVIOR_THROW_EXCEPTION\020\002\032\365\001\n\020Sw" + "itchExpression\022$\n\005match\030\003 \001(\0132\025.substrai" + "t.Expression\022;\n\003ifs\030\001 \003(\0132..substrait.Ex" + "pression.SwitchExpression.IfValue\022#\n\004els" + "e\030\002 \001(\0132\025.substrait.Expression\032Y\n\007IfValu" + "e\022)\n\002if\030\001 \001(\0132\035.substrait.Expression.Lit" + "eral\022#\n\004then\030\002 \001(\0132\025.substrait.Expressio" + "n\032^\n\016SingularOrList\022$\n\005value\030\001 \001(\0132\025.sub" + "strait.Expression\022&\n\007options\030\002 \003(\0132\025.sub" + "strait.Expression\032\237\001\n\013MultiOrList\022$\n\005val" + "ue\030\001 \003(\0132\025.substrait.Expression\0229\n\007optio" + "ns\030\002 \003(\0132(.substrait.Expression.MultiOrL" + "ist.Record\032/\n\006Record\022%\n\006fields\030\001 \003(\0132\025.s" + "ubstrait.Expression\032\243\003\n\020EmbeddedFunction" + "\022(\n\targuments\030\001 \003(\0132\025.substrait.Expressi" + "on\022$\n\013output_type\030\002 \001(\0132\017.substrait.Type" + "\022]\n\026python_pickle_function\030\003 \001(\0132;.subst" + "rait.Expression.EmbeddedFunction.PythonP" + "ickleFunctionH\000\022[\n\025web_assembly_function" + "\030\004 \001(\0132:.substrait.Expression.EmbeddedFu" + "nction.WebAssemblyFunctionH\000\032>\n\024PythonPi" + "ckleFunction\022\020\n\010function\030\001 \001(\014\022\024\n\014prereq" + "uisite\030\002 \003(\t\032;\n\023WebAssemblyFunction\022\016\n\006s" + "cript\030\001 \001(\014\022\024\n\014prerequisite\030\002 \003(\tB\006\n\004kin" + "d\032\232\004\n\020ReferenceSegment\022@\n\007map_key\030\001 \001(\0132" + "-.substrait.Expression.ReferenceSegment." + "MapKeyH\000\022J\n\014struct_field\030\002 \001(\01322.substra" + "it.Expression.ReferenceSegment.StructFie" + "ldH\000\022J\n\014list_element\030\003 \001(\01322.substrait.E" + "xpression.ReferenceSegment.ListElementH\000" + "\032o\n\006MapKey\022.\n\007map_key\030\001 \001(\0132\035.substrait." + "Expression.Literal\0225\n\005child\030\002 \001(\0132&.subs" + "trait.Expression.ReferenceSegment\032S\n\013Str" + "uctField\022\r\n\005field\030\001 \001(\005\0225\n\005child\030\002 \001(\0132&" + ".substrait.Expression.ReferenceSegment\032T" + "\n\013ListElement\022\016\n\006offset\030\001 \001(\005\0225\n\005child\030\002" + " \001(\0132&.substrait.Expression.ReferenceSeg" + "mentB\020\n\016reference_type\032\360\t\n\016MaskExpressio" + "n\022A\n\006select\030\001 \001(\01321.substrait.Expression" + ".MaskExpression.StructSelect\022 \n\030maintain" + "_singular_struct\030\002 \001(\010\032\325\001\n\006Select\022C\n\006str" + "uct\030\001 \001(\01321.substrait.Expression.MaskExp" + "ression.StructSelectH\000\022\?\n\004list\030\002 \001(\0132/.s" + "ubstrait.Expression.MaskExpression.ListS" + "electH\000\022=\n\003map\030\003 \001(\0132..substrait.Express" + "ion.MaskExpression.MapSelectH\000B\006\n\004type\032U" + "\n\014StructSelect\022E\n\014struct_items\030\001 \003(\0132/.s" + "ubstrait.Expression.MaskExpression.Struc" + "tItem\032W\n\nStructItem\022\r\n\005field\030\001 \001(\005\022:\n\005ch" + "ild\030\002 \001(\0132+.substrait.Expression.MaskExp" + "ression.Select\032\264\003\n\nListSelect\022Q\n\tselecti" + "on\030\001 \003(\0132>.substrait.Expression.MaskExpr" + "ession.ListSelect.ListSelectItem\022:\n\005chil" + "d\030\002 \001(\0132+.substrait.Expression.MaskExpre" + "ssion.Select\032\226\002\n\016ListSelectItem\022Z\n\004item\030" + "\001 \001(\0132J.substrait.Expression.MaskExpress" + "ion.ListSelect.ListSelectItem.ListElemen" + "tH\000\022Y\n\005slice\030\002 \001(\0132H.substrait.Expressio" + "n.MaskExpression.ListSelect.ListSelectIt" + "em.ListSliceH\000\032\034\n\013ListElement\022\r\n\005field\030\001" + " \001(\005\032\'\n\tListSlice\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030" + "\002 \001(\005B\006\n\004type\032\271\002\n\tMapSelect\022D\n\003key\030\001 \001(\013" + "25.substrait.Expression.MaskExpression.M" + "apSelect.MapKeyH\000\022U\n\nexpression\030\002 \001(\0132\?." + "substrait.Expression.MaskExpression.MapS" + "elect.MapKeyExpressionH\000\022:\n\005child\030\003 \001(\0132" + "+.substrait.Expression.MaskExpression.Se" + "lect\032\031\n\006MapKey\022\017\n\007map_key\030\001 \001(\t\032.\n\020MapKe" + "yExpression\022\032\n\022map_key_expression\030\001 \001(\tB" + "\010\n\006select\032\266\003\n\016FieldReference\022B\n\020direct_r" + "eference\030\001 \001(\0132&.substrait.Expression.Re" + "ferenceSegmentH\000\022@\n\020masked_reference\030\002 \001" + "(\0132$.substrait.Expression.MaskExpression" + "H\000\022+\n\nexpression\030\003 \001(\0132\025.substrait.Expre" + "ssionH\001\022L\n\016root_reference\030\004 \001(\01322.substr" + "ait.Expression.FieldReference.RootRefere" + "nceH\001\022N\n\017outer_reference\030\005 \001(\01323.substra" + "it.Expression.FieldReference.OuterRefere" + "nceH\001\032\017\n\rRootReference\032#\n\016OuterReference" + "\022\021\n\tsteps_out\030\001 \001(\rB\020\n\016reference_typeB\013\n" + "\troot_type\032\214\t\n\010Subquery\0227\n\006scalar\030\001 \001(\0132" + "%.substrait.Expression.Subquery.ScalarH\000" + "\022B\n\014in_predicate\030\002 \001(\0132*.substrait.Expre" + "ssion.Subquery.InPredicateH\000\022D\n\rset_pred" + "icate\030\003 \001(\0132+.substrait.Expression.Subqu" + "ery.SetPredicateH\000\022F\n\016set_comparison\030\004 \001" + "(\0132,.substrait.Expression.Subquery.SetCo" + "mparisonH\000\032\'\n\006Scalar\022\035\n\005input\030\001 \001(\0132\016.su" + "bstrait.Rel\032W\n\013InPredicate\022&\n\007needles\030\001 " + "\003(\0132\025.substrait.Expression\022 \n\010haystack\030\002" + " \001(\0132\016.substrait.Rel\032\334\001\n\014SetPredicate\022M\n" + "\014predicate_op\030\001 \001(\01627.substrait.Expressi" + "on.Subquery.SetPredicate.PredicateOp\022\036\n\006" + "tuples\030\002 \001(\0132\016.substrait.Rel\"]\n\013Predicat" + "eOp\022\034\n\030PREDICATE_OP_UNSPECIFIED\020\000\022\027\n\023PRE" + "DICATE_OP_EXISTS\020\001\022\027\n\023PREDICATE_OP_UNIQU" + "E\020\002\032\202\004\n\rSetComparison\022N\n\014reduction_op\030\001 " + "\001(\01628.substrait.Expression.Subquery.SetC" + "omparison.ReductionOp\022P\n\rcomparison_op\030\002" + " \001(\01629.substrait.Expression.Subquery.Set" + "Comparison.ComparisonOp\022#\n\004left\030\003 \001(\0132\025." + "substrait.Expression\022\035\n\005right\030\004 \001(\0132\016.su" + "bstrait.Rel\"\261\001\n\014ComparisonOp\022\035\n\031COMPARIS" + "ON_OP_UNSPECIFIED\020\000\022\024\n\020COMPARISON_OP_EQ\020" + "\001\022\024\n\020COMPARISON_OP_NE\020\002\022\024\n\020COMPARISON_OP" + "_LT\020\003\022\024\n\020COMPARISON_OP_GT\020\004\022\024\n\020COMPARISO" + "N_OP_LE\020\005\022\024\n\020COMPARISON_OP_GE\020\006\"W\n\013Reduc" + "tionOp\022\034\n\030REDUCTION_OP_UNSPECIFIED\020\000\022\024\n\020" + "REDUCTION_OP_ANY\020\001\022\024\n\020REDUCTION_OP_ALL\020\002" + "B\017\n\rsubquery_typeB\n\n\010rex_type\"\377\002\n\tSortFi" + "eld\022#\n\004expr\030\001 \001(\0132\025.substrait.Expression" + "\0227\n\tdirection\030\002 \001(\0162\".substrait.SortFiel" + "d.SortDirectionH\000\022\'\n\035comparison_function" + "_reference\030\003 \001(\rH\000\"\335\001\n\rSortDirection\022\036\n\032" + "SORT_DIRECTION_UNSPECIFIED\020\000\022\"\n\036SORT_DIR" + "ECTION_ASC_NULLS_FIRST\020\001\022!\n\035SORT_DIRECTI" + "ON_ASC_NULLS_LAST\020\002\022#\n\037SORT_DIRECTION_DE" + "SC_NULLS_FIRST\020\003\022\"\n\036SORT_DIRECTION_DESC_" + "NULLS_LAST\020\004\022\034\n\030SORT_DIRECTION_CLUSTERED" + "\020\005B\013\n\tsort_kind\"\372\003\n\021AggregateFunction\022\032\n" + "\022function_reference\030\001 \001(\r\022.\n\targuments\030\007" + " \003(\0132\033.substrait.FunctionArgument\022*\n\007opt" + "ions\030\010 \003(\0132\031.substrait.FunctionOption\022$\n" + "\013output_type\030\005 \001(\0132\017.substrait.Type\022*\n\005p" + "hase\030\004 \001(\0162\033.substrait.AggregationPhase\022" + "#\n\005sorts\030\003 \003(\0132\024.substrait.SortField\022F\n\n" + "invocation\030\006 \001(\01622.substrait.AggregateFu" + "nction.AggregationInvocation\022\'\n\004args\030\002 \003" + "(\0132\025.substrait.ExpressionB\002\030\001\"\204\001\n\025Aggreg" + "ationInvocation\022&\n\"AGGREGATION_INVOCATIO" + "N_UNSPECIFIED\020\000\022\036\n\032AGGREGATION_INVOCATIO" + "N_ALL\020\001\022#\n\037AGGREGATION_INVOCATION_DISTIN" + "CT\020\002\"\'\n\014ReferenceRel\022\027\n\017subtree_ordinal\030" + "\001 \001(\005*\357\001\n\020AggregationPhase\022!\n\035AGGREGATIO" + "N_PHASE_UNSPECIFIED\020\000\022-\n)AGGREGATION_PHA" + "SE_INITIAL_TO_INTERMEDIATE\020\001\0222\n.AGGREGAT" + "ION_PHASE_INTERMEDIATE_TO_INTERMEDIATE\020\002" + "\022\'\n#AGGREGATION_PHASE_INITIAL_TO_RESULT\020" + "\003\022,\n(AGGREGATION_PHASE_INTERMEDIATE_TO_R" + "ESULT\020\004BW\n\022io.substrait.protoP\001Z*github." + "com/substrait-io/substrait-go/proto\252\002\022Su" + "bstrait.Protobufb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_substrait_2falgebra_2eproto_deps[3] = { &::descriptor_table_google_2fprotobuf_2fany_2eproto, @@ -3549,8 +3722,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_substrait_2falgebra_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_substrait_2falgebra_2eproto = { - false, false, 22656, descriptor_table_protodef_substrait_2falgebra_2eproto, "substrait/algebra.proto", - &descriptor_table_substrait_2falgebra_2eproto_once, descriptor_table_substrait_2falgebra_2eproto_deps, 3, 117, + false, false, 24504, descriptor_table_protodef_substrait_2falgebra_2eproto, "substrait/algebra.proto", + &descriptor_table_substrait_2falgebra_2eproto_once, descriptor_table_substrait_2falgebra_2eproto_deps, 3, 121, schemas, file_default_instances, TableStruct_substrait_2falgebra_2eproto::offsets, file_level_metadata_substrait_2falgebra_2eproto, file_level_enum_descriptors_substrait_2falgebra_2eproto, file_level_service_descriptors_substrait_2falgebra_2eproto, }; @@ -3561,10 +3734,35 @@ PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable // Force running AddDescriptors() at dynamic initialization time. PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_substrait_2falgebra_2eproto(&descriptor_table_substrait_2falgebra_2eproto); namespace substrait { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* JoinRel_JoinType_descriptor() { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RelCommon_Hint_ComputationType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); return file_level_enum_descriptors_substrait_2falgebra_2eproto[0]; } +bool RelCommon_Hint_ComputationType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 9999: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::COMPUTATION_TYPE_UNSPECIFIED; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::COMPUTATION_TYPE_HASHTABLE; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::COMPUTATION_TYPE_BLOOM_FILTER; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::COMPUTATION_TYPE_UNKNOWN; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::ComputationType_MIN; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint::ComputationType_MAX; +constexpr int RelCommon_Hint::ComputationType_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* JoinRel_JoinType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); + return file_level_enum_descriptors_substrait_2falgebra_2eproto[1]; +} bool JoinRel_JoinType_IsValid(int value) { switch (value) { case 0: @@ -3575,6 +3773,11 @@ bool JoinRel_JoinType_IsValid(int value) { case 5: case 6: case 7: + case 8: + case 9: + case 10: + case 11: + case 12: return true; default: return false; @@ -3587,16 +3790,21 @@ constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_INNER; constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_OUTER; constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_LEFT; constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_RIGHT; -constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_SEMI; -constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_ANTI; -constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_SINGLE; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_LEFT_SEMI; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_LEFT_ANTI; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_LEFT_SINGLE; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_RIGHT_SEMI; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_RIGHT_ANTI; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_RIGHT_SINGLE; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_LEFT_MARK; +constexpr JoinRel_JoinType JoinRel::JOIN_TYPE_RIGHT_MARK; constexpr JoinRel_JoinType JoinRel::JoinType_MIN; constexpr JoinRel_JoinType JoinRel::JoinType_MAX; constexpr int JoinRel::JoinType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SetRel_SetOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[1]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[2]; } bool SetRel_SetOp_IsValid(int value) { switch (value) { @@ -3607,6 +3815,8 @@ bool SetRel_SetOp_IsValid(int value) { case 4: case 5: case 6: + case 7: + case 8: return true; default: return false; @@ -3616,9 +3826,11 @@ bool SetRel_SetOp_IsValid(int value) { #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr SetRel_SetOp SetRel::SET_OP_UNSPECIFIED; constexpr SetRel_SetOp SetRel::SET_OP_MINUS_PRIMARY; +constexpr SetRel_SetOp SetRel::SET_OP_MINUS_PRIMARY_ALL; constexpr SetRel_SetOp SetRel::SET_OP_MINUS_MULTISET; constexpr SetRel_SetOp SetRel::SET_OP_INTERSECTION_PRIMARY; constexpr SetRel_SetOp SetRel::SET_OP_INTERSECTION_MULTISET; +constexpr SetRel_SetOp SetRel::SET_OP_INTERSECTION_MULTISET_ALL; constexpr SetRel_SetOp SetRel::SET_OP_UNION_DISTINCT; constexpr SetRel_SetOp SetRel::SET_OP_UNION_ALL; constexpr SetRel_SetOp SetRel::SetOp_MIN; @@ -3627,7 +3839,7 @@ constexpr int SetRel::SetOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DdlRel_DdlObject_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[2]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[3]; } bool DdlRel_DdlObject_IsValid(int value) { switch (value) { @@ -3650,7 +3862,7 @@ constexpr int DdlRel::DdlObject_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DdlRel_DdlOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[3]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[4]; } bool DdlRel_DdlOp_IsValid(int value) { switch (value) { @@ -3679,7 +3891,7 @@ constexpr int DdlRel::DdlOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WriteRel_WriteOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[4]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[5]; } bool WriteRel_WriteOp_IsValid(int value) { switch (value) { @@ -3706,7 +3918,7 @@ constexpr int WriteRel::WriteOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WriteRel_OutputMode_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[5]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[6]; } bool WriteRel_OutputMode_IsValid(int value) { switch (value) { @@ -3729,7 +3941,7 @@ constexpr int WriteRel::OutputMode_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ComparisonJoinKey_SimpleComparisonType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[6]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[7]; } bool ComparisonJoinKey_SimpleComparisonType_IsValid(int value) { switch (value) { @@ -3754,7 +3966,7 @@ constexpr int ComparisonJoinKey::SimpleComparisonType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HashJoinRel_JoinType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[7]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[8]; } bool HashJoinRel_JoinType_IsValid(int value) { switch (value) { @@ -3767,6 +3979,10 @@ bool HashJoinRel_JoinType_IsValid(int value) { case 6: case 7: case 8: + case 9: + case 10: + case 11: + case 12: return true; default: return false; @@ -3783,13 +3999,17 @@ constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_LEFT_SEMI; constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_RIGHT_SEMI; constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_LEFT_ANTI; constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_RIGHT_ANTI; +constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_LEFT_SINGLE; +constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_RIGHT_SINGLE; +constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_LEFT_MARK; +constexpr HashJoinRel_JoinType HashJoinRel::JOIN_TYPE_RIGHT_MARK; constexpr HashJoinRel_JoinType HashJoinRel::JoinType_MIN; constexpr HashJoinRel_JoinType HashJoinRel::JoinType_MAX; constexpr int HashJoinRel::JoinType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MergeJoinRel_JoinType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[8]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[9]; } bool MergeJoinRel_JoinType_IsValid(int value) { switch (value) { @@ -3802,6 +4022,10 @@ bool MergeJoinRel_JoinType_IsValid(int value) { case 6: case 7: case 8: + case 9: + case 10: + case 11: + case 12: return true; default: return false; @@ -3818,13 +4042,17 @@ constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_LEFT_SEMI; constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_RIGHT_SEMI; constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_LEFT_ANTI; constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_RIGHT_ANTI; +constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_LEFT_SINGLE; +constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_RIGHT_SINGLE; +constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_LEFT_MARK; +constexpr MergeJoinRel_JoinType MergeJoinRel::JOIN_TYPE_RIGHT_MARK; constexpr MergeJoinRel_JoinType MergeJoinRel::JoinType_MIN; constexpr MergeJoinRel_JoinType MergeJoinRel::JoinType_MAX; constexpr int MergeJoinRel::JoinType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NestedLoopJoinRel_JoinType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[9]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[10]; } bool NestedLoopJoinRel_JoinType_IsValid(int value) { switch (value) { @@ -3837,6 +4065,10 @@ bool NestedLoopJoinRel_JoinType_IsValid(int value) { case 6: case 7: case 8: + case 9: + case 10: + case 11: + case 12: return true; default: return false; @@ -3853,13 +4085,17 @@ constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_LEFT_SEMI; constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_RIGHT_SEMI; constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_LEFT_ANTI; constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_RIGHT_ANTI; +constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_LEFT_SINGLE; +constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_RIGHT_SINGLE; +constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_LEFT_MARK; +constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JOIN_TYPE_RIGHT_MARK; constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JoinType_MIN; constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel::JoinType_MAX; constexpr int NestedLoopJoinRel::JoinType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Expression_WindowFunction_BoundsType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[10]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[11]; } bool Expression_WindowFunction_BoundsType_IsValid(int value) { switch (value) { @@ -3882,7 +4118,7 @@ constexpr int Expression_WindowFunction::BoundsType_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Expression_Cast_FailureBehavior_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[11]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[12]; } bool Expression_Cast_FailureBehavior_IsValid(int value) { switch (value) { @@ -3905,7 +4141,7 @@ constexpr int Expression_Cast::FailureBehavior_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Expression_Subquery_SetPredicate_PredicateOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[12]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[13]; } bool Expression_Subquery_SetPredicate_PredicateOp_IsValid(int value) { switch (value) { @@ -3928,7 +4164,7 @@ constexpr int Expression_Subquery_SetPredicate::PredicateOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Expression_Subquery_SetComparison_ComparisonOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[13]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[14]; } bool Expression_Subquery_SetComparison_ComparisonOp_IsValid(int value) { switch (value) { @@ -3959,7 +4195,7 @@ constexpr int Expression_Subquery_SetComparison::ComparisonOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Expression_Subquery_SetComparison_ReductionOp_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[14]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[15]; } bool Expression_Subquery_SetComparison_ReductionOp_IsValid(int value) { switch (value) { @@ -3982,7 +4218,7 @@ constexpr int Expression_Subquery_SetComparison::ReductionOp_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SortField_SortDirection_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[15]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[16]; } bool SortField_SortDirection_IsValid(int value) { switch (value) { @@ -4011,7 +4247,7 @@ constexpr int SortField::SortDirection_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AggregateFunction_AggregationInvocation_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[16]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[17]; } bool AggregateFunction_AggregationInvocation_IsValid(int value) { switch (value) { @@ -4034,7 +4270,7 @@ constexpr int AggregateFunction::AggregationInvocation_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AggregationPhase_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_substrait_2falgebra_2eproto); - return file_level_enum_descriptors_substrait_2falgebra_2eproto[17]; + return file_level_enum_descriptors_substrait_2falgebra_2eproto[18]; } bool AggregationPhase_IsValid(int value) { switch (value) { @@ -4767,164 +5003,644 @@ ::PROTOBUF_NAMESPACE_ID::Metadata RelCommon_Hint_RuntimeConstraint::GetMetadata( // =================================================================== -class RelCommon_Hint::_Internal { +class RelCommon_Hint_SavedComputation::_Internal { public: - static const ::substrait::RelCommon_Hint_Stats& stats(const RelCommon_Hint* msg); - static const ::substrait::RelCommon_Hint_RuntimeConstraint& constraint(const RelCommon_Hint* msg); - static const ::substrait::extensions::AdvancedExtension& advanced_extension(const RelCommon_Hint* msg); }; -const ::substrait::RelCommon_Hint_Stats& -RelCommon_Hint::_Internal::stats(const RelCommon_Hint* msg) { - return *msg->stats_; -} -const ::substrait::RelCommon_Hint_RuntimeConstraint& -RelCommon_Hint::_Internal::constraint(const RelCommon_Hint* msg) { - return *msg->constraint_; -} -const ::substrait::extensions::AdvancedExtension& -RelCommon_Hint::_Internal::advanced_extension(const RelCommon_Hint* msg) { - return *msg->advanced_extension_; -} -void RelCommon_Hint::clear_advanced_extension() { - if (GetArenaForAllocation() == nullptr && advanced_extension_ != nullptr) { - delete advanced_extension_; - } - advanced_extension_ = nullptr; -} -RelCommon_Hint::RelCommon_Hint(::PROTOBUF_NAMESPACE_ID::Arena* arena, +RelCommon_Hint_SavedComputation::RelCommon_Hint_SavedComputation(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:substrait.RelCommon.Hint) + // @@protoc_insertion_point(arena_constructor:substrait.RelCommon.Hint.SavedComputation) } -RelCommon_Hint::RelCommon_Hint(const RelCommon_Hint& from) +RelCommon_Hint_SavedComputation::RelCommon_Hint_SavedComputation(const RelCommon_Hint_SavedComputation& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - alias_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_alias().empty()) { - alias_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_alias(), - GetArenaForAllocation()); - } - if (from._internal_has_stats()) { - stats_ = new ::substrait::RelCommon_Hint_Stats(*from.stats_); - } else { - stats_ = nullptr; - } - if (from._internal_has_constraint()) { - constraint_ = new ::substrait::RelCommon_Hint_RuntimeConstraint(*from.constraint_); - } else { - constraint_ = nullptr; - } - if (from._internal_has_advanced_extension()) { - advanced_extension_ = new ::substrait::extensions::AdvancedExtension(*from.advanced_extension_); - } else { - advanced_extension_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:substrait.RelCommon.Hint) + ::memcpy(&computation_id_, &from.computation_id_, + static_cast(reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_)) + sizeof(type_)); + // @@protoc_insertion_point(copy_constructor:substrait.RelCommon.Hint.SavedComputation) } -inline void RelCommon_Hint::SharedCtor() { -alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - alias_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void RelCommon_Hint_SavedComputation::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&stats_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&advanced_extension_) - - reinterpret_cast(&stats_)) + sizeof(advanced_extension_)); + reinterpret_cast(&computation_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_)) + sizeof(type_)); } -RelCommon_Hint::~RelCommon_Hint() { - // @@protoc_insertion_point(destructor:substrait.RelCommon.Hint) +RelCommon_Hint_SavedComputation::~RelCommon_Hint_SavedComputation() { + // @@protoc_insertion_point(destructor:substrait.RelCommon.Hint.SavedComputation) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void RelCommon_Hint::SharedDtor() { +inline void RelCommon_Hint_SavedComputation::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - alias_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete stats_; - if (this != internal_default_instance()) delete constraint_; - if (this != internal_default_instance()) delete advanced_extension_; } -void RelCommon_Hint::ArenaDtor(void* object) { - RelCommon_Hint* _this = reinterpret_cast< RelCommon_Hint* >(object); +void RelCommon_Hint_SavedComputation::ArenaDtor(void* object) { + RelCommon_Hint_SavedComputation* _this = reinterpret_cast< RelCommon_Hint_SavedComputation* >(object); (void)_this; } -void RelCommon_Hint::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void RelCommon_Hint_SavedComputation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void RelCommon_Hint::SetCachedSize(int size) const { +void RelCommon_Hint_SavedComputation::SetCachedSize(int size) const { _cached_size_.Set(size); } -void RelCommon_Hint::Clear() { -// @@protoc_insertion_point(message_clear_start:substrait.RelCommon.Hint) +void RelCommon_Hint_SavedComputation::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.RelCommon.Hint.SavedComputation) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - alias_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { - delete stats_; - } - stats_ = nullptr; - if (GetArenaForAllocation() == nullptr && constraint_ != nullptr) { - delete constraint_; - } - constraint_ = nullptr; - if (GetArenaForAllocation() == nullptr && advanced_extension_ != nullptr) { - delete advanced_extension_; - } - advanced_extension_ = nullptr; + ::memset(&computation_id_, 0, static_cast( + reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_)) + sizeof(type_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* RelCommon_Hint::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* RelCommon_Hint_SavedComputation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .substrait.RelCommon.Hint.Stats stats = 1; + // int32 computation_id = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + computation_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .substrait.RelCommon.Hint.RuntimeConstraint constraint = 2; + // .substrait.RelCommon.Hint.ComputationType type = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_constraint(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); + _internal_set_type(static_cast<::substrait::RelCommon_Hint_ComputationType>(val)); } else goto handle_unusual; continue; - // string alias = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_alias(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.RelCommon.Hint.alias")); + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RelCommon_Hint_SavedComputation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.RelCommon.Hint.SavedComputation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 computation_id = 1; + if (this->_internal_computation_id() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_computation_id(), target); + } + + // .substrait.RelCommon.Hint.ComputationType type = 2; + if (this->_internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 2, this->_internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.RelCommon.Hint.SavedComputation) + return target; +} + +size_t RelCommon_Hint_SavedComputation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.RelCommon.Hint.SavedComputation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 computation_id = 1; + if (this->_internal_computation_id() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_computation_id()); + } + + // .substrait.RelCommon.Hint.ComputationType type = 2; + if (this->_internal_type() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RelCommon_Hint_SavedComputation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + RelCommon_Hint_SavedComputation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RelCommon_Hint_SavedComputation::GetClassData() const { return &_class_data_; } + +void RelCommon_Hint_SavedComputation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void RelCommon_Hint_SavedComputation::MergeFrom(const RelCommon_Hint_SavedComputation& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.RelCommon.Hint.SavedComputation) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_computation_id() != 0) { + _internal_set_computation_id(from._internal_computation_id()); + } + if (from._internal_type() != 0) { + _internal_set_type(from._internal_type()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RelCommon_Hint_SavedComputation::CopyFrom(const RelCommon_Hint_SavedComputation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.RelCommon.Hint.SavedComputation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RelCommon_Hint_SavedComputation::IsInitialized() const { + return true; +} + +void RelCommon_Hint_SavedComputation::InternalSwap(RelCommon_Hint_SavedComputation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RelCommon_Hint_SavedComputation, type_) + + sizeof(RelCommon_Hint_SavedComputation::type_) + - PROTOBUF_FIELD_OFFSET(RelCommon_Hint_SavedComputation, computation_id_)>( + reinterpret_cast(&computation_id_), + reinterpret_cast(&other->computation_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RelCommon_Hint_SavedComputation::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, + file_level_metadata_substrait_2falgebra_2eproto[4]); +} + +// =================================================================== + +class RelCommon_Hint_LoadedComputation::_Internal { + public: +}; + +RelCommon_Hint_LoadedComputation::RelCommon_Hint_LoadedComputation(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.RelCommon.Hint.LoadedComputation) +} +RelCommon_Hint_LoadedComputation::RelCommon_Hint_LoadedComputation(const RelCommon_Hint_LoadedComputation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&computation_id_reference_, &from.computation_id_reference_, + static_cast(reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_reference_)) + sizeof(type_)); + // @@protoc_insertion_point(copy_constructor:substrait.RelCommon.Hint.LoadedComputation) +} + +inline void RelCommon_Hint_LoadedComputation::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&computation_id_reference_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_reference_)) + sizeof(type_)); +} + +RelCommon_Hint_LoadedComputation::~RelCommon_Hint_LoadedComputation() { + // @@protoc_insertion_point(destructor:substrait.RelCommon.Hint.LoadedComputation) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void RelCommon_Hint_LoadedComputation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void RelCommon_Hint_LoadedComputation::ArenaDtor(void* object) { + RelCommon_Hint_LoadedComputation* _this = reinterpret_cast< RelCommon_Hint_LoadedComputation* >(object); + (void)_this; +} +void RelCommon_Hint_LoadedComputation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void RelCommon_Hint_LoadedComputation::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void RelCommon_Hint_LoadedComputation::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.RelCommon.Hint.LoadedComputation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&computation_id_reference_, 0, static_cast( + reinterpret_cast(&type_) - + reinterpret_cast(&computation_id_reference_)) + sizeof(type_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RelCommon_Hint_LoadedComputation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 computation_id_reference = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + computation_id_reference_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .substrait.extensions.AdvancedExtension advanced_extension = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_advanced_extension(), ptr); + // .substrait.RelCommon.Hint.ComputationType type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); + _internal_set_type(static_cast<::substrait::RelCommon_Hint_ComputationType>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RelCommon_Hint_LoadedComputation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.RelCommon.Hint.LoadedComputation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 computation_id_reference = 1; + if (this->_internal_computation_id_reference() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_computation_id_reference(), target); + } + + // .substrait.RelCommon.Hint.ComputationType type = 2; + if (this->_internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 2, this->_internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.RelCommon.Hint.LoadedComputation) + return target; +} + +size_t RelCommon_Hint_LoadedComputation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.RelCommon.Hint.LoadedComputation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 computation_id_reference = 1; + if (this->_internal_computation_id_reference() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_computation_id_reference()); + } + + // .substrait.RelCommon.Hint.ComputationType type = 2; + if (this->_internal_type() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RelCommon_Hint_LoadedComputation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + RelCommon_Hint_LoadedComputation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RelCommon_Hint_LoadedComputation::GetClassData() const { return &_class_data_; } + +void RelCommon_Hint_LoadedComputation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void RelCommon_Hint_LoadedComputation::MergeFrom(const RelCommon_Hint_LoadedComputation& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.RelCommon.Hint.LoadedComputation) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_computation_id_reference() != 0) { + _internal_set_computation_id_reference(from._internal_computation_id_reference()); + } + if (from._internal_type() != 0) { + _internal_set_type(from._internal_type()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RelCommon_Hint_LoadedComputation::CopyFrom(const RelCommon_Hint_LoadedComputation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.RelCommon.Hint.LoadedComputation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RelCommon_Hint_LoadedComputation::IsInitialized() const { + return true; +} + +void RelCommon_Hint_LoadedComputation::InternalSwap(RelCommon_Hint_LoadedComputation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RelCommon_Hint_LoadedComputation, type_) + + sizeof(RelCommon_Hint_LoadedComputation::type_) + - PROTOBUF_FIELD_OFFSET(RelCommon_Hint_LoadedComputation, computation_id_reference_)>( + reinterpret_cast(&computation_id_reference_), + reinterpret_cast(&other->computation_id_reference_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RelCommon_Hint_LoadedComputation::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, + file_level_metadata_substrait_2falgebra_2eproto[5]); +} + +// =================================================================== + +class RelCommon_Hint::_Internal { + public: + static const ::substrait::RelCommon_Hint_Stats& stats(const RelCommon_Hint* msg); + static const ::substrait::RelCommon_Hint_RuntimeConstraint& constraint(const RelCommon_Hint* msg); + static const ::substrait::extensions::AdvancedExtension& advanced_extension(const RelCommon_Hint* msg); +}; + +const ::substrait::RelCommon_Hint_Stats& +RelCommon_Hint::_Internal::stats(const RelCommon_Hint* msg) { + return *msg->stats_; +} +const ::substrait::RelCommon_Hint_RuntimeConstraint& +RelCommon_Hint::_Internal::constraint(const RelCommon_Hint* msg) { + return *msg->constraint_; +} +const ::substrait::extensions::AdvancedExtension& +RelCommon_Hint::_Internal::advanced_extension(const RelCommon_Hint* msg) { + return *msg->advanced_extension_; +} +void RelCommon_Hint::clear_advanced_extension() { + if (GetArenaForAllocation() == nullptr && advanced_extension_ != nullptr) { + delete advanced_extension_; + } + advanced_extension_ = nullptr; +} +RelCommon_Hint::RelCommon_Hint(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + output_names_(arena), + saved_computations_(arena), + loaded_computations_(arena) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.RelCommon.Hint) +} +RelCommon_Hint::RelCommon_Hint(const RelCommon_Hint& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + output_names_(from.output_names_), + saved_computations_(from.saved_computations_), + loaded_computations_(from.loaded_computations_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + alias_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_alias().empty()) { + alias_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_alias(), + GetArenaForAllocation()); + } + if (from._internal_has_stats()) { + stats_ = new ::substrait::RelCommon_Hint_Stats(*from.stats_); + } else { + stats_ = nullptr; + } + if (from._internal_has_constraint()) { + constraint_ = new ::substrait::RelCommon_Hint_RuntimeConstraint(*from.constraint_); + } else { + constraint_ = nullptr; + } + if (from._internal_has_advanced_extension()) { + advanced_extension_ = new ::substrait::extensions::AdvancedExtension(*from.advanced_extension_); + } else { + advanced_extension_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:substrait.RelCommon.Hint) +} + +inline void RelCommon_Hint::SharedCtor() { +alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + alias_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&stats_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&advanced_extension_) - + reinterpret_cast(&stats_)) + sizeof(advanced_extension_)); +} + +RelCommon_Hint::~RelCommon_Hint() { + // @@protoc_insertion_point(destructor:substrait.RelCommon.Hint) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void RelCommon_Hint::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + alias_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete stats_; + if (this != internal_default_instance()) delete constraint_; + if (this != internal_default_instance()) delete advanced_extension_; +} + +void RelCommon_Hint::ArenaDtor(void* object) { + RelCommon_Hint* _this = reinterpret_cast< RelCommon_Hint* >(object); + (void)_this; +} +void RelCommon_Hint::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void RelCommon_Hint::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void RelCommon_Hint::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.RelCommon.Hint) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + output_names_.Clear(); + saved_computations_.Clear(); + loaded_computations_.Clear(); + alias_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && stats_ != nullptr) { + delete stats_; + } + stats_ = nullptr; + if (GetArenaForAllocation() == nullptr && constraint_ != nullptr) { + delete constraint_; + } + constraint_ = nullptr; + if (GetArenaForAllocation() == nullptr && advanced_extension_ != nullptr) { + delete advanced_extension_; + } + advanced_extension_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RelCommon_Hint::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.RelCommon.Hint.Stats stats = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.RelCommon.Hint.RuntimeConstraint constraint = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_constraint(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string alias = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_alias(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.RelCommon.Hint.alias")); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string output_names = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_output_names(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.RelCommon.Hint.output_names")); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // .substrait.extensions.AdvancedExtension advanced_extension = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_advanced_extension(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_saved_computations(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_loaded_computations(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); } else goto handle_unusual; continue; @@ -4983,6 +5699,16 @@ uint8_t* RelCommon_Hint::_InternalSerialize( 3, this->_internal_alias(), target); } + // repeated string output_names = 4; + for (int i = 0, n = this->_internal_output_names_size(); i < n; i++) { + const auto& s = this->_internal_output_names(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "substrait.RelCommon.Hint.output_names"); + target = stream->WriteString(4, s, target); + } + // .substrait.extensions.AdvancedExtension advanced_extension = 10; if (this->_internal_has_advanced_extension()) { target = stream->EnsureSpace(target); @@ -4991,6 +5717,22 @@ uint8_t* RelCommon_Hint::_InternalSerialize( 10, _Internal::advanced_extension(this), target, stream); } + // repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11; + for (unsigned int i = 0, + n = static_cast(this->_internal_saved_computations_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, this->_internal_saved_computations(i), target, stream); + } + + // repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12; + for (unsigned int i = 0, + n = static_cast(this->_internal_loaded_computations_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, this->_internal_loaded_computations(i), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5007,6 +5749,28 @@ size_t RelCommon_Hint::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // repeated string output_names = 4; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(output_names_.size()); + for (int i = 0, n = output_names_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + output_names_.Get(i)); + } + + // repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11; + total_size += 1UL * this->_internal_saved_computations_size(); + for (const auto& msg : this->saved_computations_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12; + total_size += 1UL * this->_internal_loaded_computations_size(); + for (const auto& msg : this->loaded_computations_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + // string alias = 3; if (!this->_internal_alias().empty()) { total_size += 1 + @@ -5057,6 +5821,9 @@ void RelCommon_Hint::MergeFrom(const RelCommon_Hint& from) { uint32_t cached_has_bits = 0; (void) cached_has_bits; + output_names_.MergeFrom(from.output_names_); + saved_computations_.MergeFrom(from.saved_computations_); + loaded_computations_.MergeFrom(from.loaded_computations_); if (!from._internal_alias().empty()) { _internal_set_alias(from._internal_alias()); } @@ -5088,6 +5855,9 @@ void RelCommon_Hint::InternalSwap(RelCommon_Hint* other) { auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + output_names_.InternalSwap(&other->output_names_); + saved_computations_.InternalSwap(&other->saved_computations_); + loaded_computations_.InternalSwap(&other->loaded_computations_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &alias_, lhs_arena, @@ -5104,7 +5874,7 @@ void RelCommon_Hint::InternalSwap(RelCommon_Hint* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RelCommon_Hint::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[4]); + file_level_metadata_substrait_2falgebra_2eproto[6]); } // =================================================================== @@ -5502,7 +6272,7 @@ void RelCommon::InternalSwap(RelCommon* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RelCommon::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[5]); + file_level_metadata_substrait_2falgebra_2eproto[7]); } // =================================================================== @@ -5741,7 +6511,7 @@ void ReadRel_NamedTable::InternalSwap(ReadRel_NamedTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_NamedTable::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[6]); + file_level_metadata_substrait_2falgebra_2eproto[8]); } // =================================================================== @@ -5753,7 +6523,8 @@ class ReadRel_VirtualTable::_Internal { ReadRel_VirtualTable::ReadRel_VirtualTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - values_(arena) { + values_(arena), + expressions_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); @@ -5762,7 +6533,8 @@ ReadRel_VirtualTable::ReadRel_VirtualTable(::PROTOBUF_NAMESPACE_ID::Arena* arena } ReadRel_VirtualTable::ReadRel_VirtualTable(const ReadRel_VirtualTable& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - values_(from.values_) { + values_(from.values_), + expressions_(from.expressions_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:substrait.ReadRel.VirtualTable) } @@ -5798,6 +6570,7 @@ void ReadRel_VirtualTable::Clear() { (void) cached_has_bits; values_.Clear(); + expressions_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5807,7 +6580,7 @@ const char* ReadRel_VirtualTable::_InternalParse(const char* ptr, ::PROTOBUF_NAM uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .substrait.Expression.Literal.Struct values = 1; + // repeated .substrait.Expression.Literal.Struct values = 1 [deprecated = true]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; @@ -5820,6 +6593,19 @@ const char* ReadRel_VirtualTable::_InternalParse(const char* ptr, ::PROTOBUF_NAM } else goto handle_unusual; continue; + // repeated .substrait.Expression.Nested.Struct expressions = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_expressions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5849,7 +6635,7 @@ uint8_t* ReadRel_VirtualTable::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .substrait.Expression.Literal.Struct values = 1; + // repeated .substrait.Expression.Literal.Struct values = 1 [deprecated = true]; for (unsigned int i = 0, n = static_cast(this->_internal_values_size()); i < n; i++) { target = stream->EnsureSpace(target); @@ -5857,6 +6643,14 @@ uint8_t* ReadRel_VirtualTable::_InternalSerialize( InternalWriteMessage(1, this->_internal_values(i), target, stream); } + // repeated .substrait.Expression.Nested.Struct expressions = 2; + for (unsigned int i = 0, + n = static_cast(this->_internal_expressions_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, this->_internal_expressions(i), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5873,13 +6667,20 @@ size_t ReadRel_VirtualTable::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .substrait.Expression.Literal.Struct values = 1; + // repeated .substrait.Expression.Literal.Struct values = 1 [deprecated = true]; total_size += 1UL * this->_internal_values_size(); for (const auto& msg : this->values_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // repeated .substrait.Expression.Nested.Struct expressions = 2; + total_size += 1UL * this->_internal_expressions_size(); + for (const auto& msg : this->expressions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5903,6 +6704,7 @@ void ReadRel_VirtualTable::MergeFrom(const ReadRel_VirtualTable& from) { (void) cached_has_bits; values_.MergeFrom(from.values_); + expressions_.MergeFrom(from.expressions_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5921,12 +6723,13 @@ void ReadRel_VirtualTable::InternalSwap(ReadRel_VirtualTable* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); values_.InternalSwap(&other->values_); + expressions_.InternalSwap(&other->expressions_); } ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_VirtualTable::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[7]); + file_level_metadata_substrait_2falgebra_2eproto[9]); } // =================================================================== @@ -6127,7 +6930,7 @@ void ReadRel_ExtensionTable::InternalSwap(ReadRel_ExtensionTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_ExtensionTable::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[8]); + file_level_metadata_substrait_2falgebra_2eproto[10]); } // =================================================================== @@ -6166,7 +6969,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReadRel_LocalFiles_FileOrFiles ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[9]); + file_level_metadata_substrait_2falgebra_2eproto[11]); } // =================================================================== @@ -6205,7 +7008,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReadRel_LocalFiles_FileOrFiles ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[10]); + file_level_metadata_substrait_2falgebra_2eproto[12]); } // =================================================================== @@ -6244,7 +7047,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReadRel_LocalFiles_FileOrFiles ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles_OrcReadOptions::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[11]); + file_level_metadata_substrait_2falgebra_2eproto[13]); } // =================================================================== @@ -6283,7 +7086,430 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReadRel_LocalFiles_FileOrFiles ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[12]); + file_level_metadata_substrait_2falgebra_2eproto[14]); +} + +// =================================================================== + +class ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_Internal { + public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_value_treated_as_null(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) +} +ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + field_delimiter_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + field_delimiter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_field_delimiter().empty()) { + field_delimiter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_field_delimiter(), + GetArenaForAllocation()); + } + quote_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + quote_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_quote().empty()) { + quote_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_quote(), + GetArenaForAllocation()); + } + escape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + escape_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_escape().empty()) { + escape_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_escape(), + GetArenaForAllocation()); + } + value_treated_as_null_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + value_treated_as_null_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value_treated_as_null()) { + value_treated_as_null_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_value_treated_as_null(), + GetArenaForAllocation()); + } + ::memcpy(&max_line_size_, &from.max_line_size_, + static_cast(reinterpret_cast(&header_lines_to_skip_) - + reinterpret_cast(&max_line_size_)) + sizeof(header_lines_to_skip_)); + // @@protoc_insertion_point(copy_constructor:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) +} + +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::SharedCtor() { +field_delimiter_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + field_delimiter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +quote_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + quote_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +escape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + escape_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +value_treated_as_null_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + value_treated_as_null_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&max_line_size_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&header_lines_to_skip_) - + reinterpret_cast(&max_line_size_)) + sizeof(header_lines_to_skip_)); +} + +ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::~ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions() { + // @@protoc_insertion_point(destructor:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + field_delimiter_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + quote_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + escape_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + value_treated_as_null_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::ArenaDtor(void* object) { + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* _this = reinterpret_cast< ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* >(object); + (void)_this; +} +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + field_delimiter_.ClearToEmpty(); + quote_.ClearToEmpty(); + escape_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + value_treated_as_null_.ClearNonDefaultToEmpty(); + } + ::memset(&max_line_size_, 0, static_cast( + reinterpret_cast(&header_lines_to_skip_) - + reinterpret_cast(&max_line_size_)) + sizeof(header_lines_to_skip_)); + _has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string field_delimiter = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_field_delimiter(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter")); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint64 max_line_size = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + max_line_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string quote = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_quote(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote")); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint64 header_lines_to_skip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + header_lines_to_skip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string escape = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_escape(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape")); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string value_treated_as_null = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_value_treated_as_null(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null")); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string field_delimiter = 1; + if (!this->_internal_field_delimiter().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_field_delimiter().data(), static_cast(this->_internal_field_delimiter().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_field_delimiter(), target); + } + + // uint64 max_line_size = 2; + if (this->_internal_max_line_size() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_max_line_size(), target); + } + + // string quote = 3; + if (!this->_internal_quote().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_quote().data(), static_cast(this->_internal_quote().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_quote(), target); + } + + // uint64 header_lines_to_skip = 4; + if (this->_internal_header_lines_to_skip() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(4, this->_internal_header_lines_to_skip(), target); + } + + // string escape = 5; + if (!this->_internal_escape().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_escape().data(), static_cast(this->_internal_escape().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_escape(), target); + } + + // optional string value_treated_as_null = 6; + if (_internal_has_value_treated_as_null()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_value_treated_as_null().data(), static_cast(this->_internal_value_treated_as_null().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_value_treated_as_null(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + return target; +} + +size_t ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string field_delimiter = 1; + if (!this->_internal_field_delimiter().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_field_delimiter()); + } + + // string quote = 3; + if (!this->_internal_quote().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_quote()); + } + + // string escape = 5; + if (!this->_internal_escape().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_escape()); + } + + // optional string value_treated_as_null = 6; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value_treated_as_null()); + } + + // uint64 max_line_size = 2; + if (this->_internal_max_line_size() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_max_line_size()); + } + + // uint64 header_lines_to_skip = 4; + if (this->_internal_header_lines_to_skip() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_header_lines_to_skip()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::GetClassData() const { return &_class_data_; } + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::MergeFrom(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_field_delimiter().empty()) { + _internal_set_field_delimiter(from._internal_field_delimiter()); + } + if (!from._internal_quote().empty()) { + _internal_set_quote(from._internal_quote()); + } + if (!from._internal_escape().empty()) { + _internal_set_escape(from._internal_escape()); + } + if (from._internal_has_value_treated_as_null()) { + _internal_set_value_treated_as_null(from._internal_value_treated_as_null()); + } + if (from._internal_max_line_size() != 0) { + _internal_set_max_line_size(from._internal_max_line_size()); + } + if (from._internal_header_lines_to_skip() != 0) { + _internal_set_header_lines_to_skip(from._internal_header_lines_to_skip()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::CopyFrom(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::IsInitialized() const { + return true; +} + +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::InternalSwap(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &field_delimiter_, lhs_arena, + &other->field_delimiter_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + "e_, lhs_arena, + &other->quote_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &escape_, lhs_arena, + &other->escape_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &value_treated_as_null_, lhs_arena, + &other->value_treated_as_null_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, header_lines_to_skip_) + + sizeof(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::header_lines_to_skip_) + - PROTOBUF_FIELD_OFFSET(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions, max_line_size_)>( + reinterpret_cast(&max_line_size_), + reinterpret_cast(&other->max_line_size_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, + file_level_metadata_substrait_2falgebra_2eproto[15]); } // =================================================================== @@ -6295,6 +7521,7 @@ class ReadRel_LocalFiles_FileOrFiles::_Internal { static const ::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions& orc(const ReadRel_LocalFiles_FileOrFiles* msg); static const ::PROTOBUF_NAMESPACE_ID::Any& extension(const ReadRel_LocalFiles_FileOrFiles* msg); static const ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions& dwrf(const ReadRel_LocalFiles_FileOrFiles* msg); + static const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& text(const ReadRel_LocalFiles_FileOrFiles* msg); }; const ::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions& @@ -6317,6 +7544,10 @@ const ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions& ReadRel_LocalFiles_FileOrFiles::_Internal::dwrf(const ReadRel_LocalFiles_FileOrFiles* msg) { return *msg->file_format_.dwrf_; } +const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& +ReadRel_LocalFiles_FileOrFiles::_Internal::text(const ReadRel_LocalFiles_FileOrFiles* msg) { + return *msg->file_format_.text_; +} void ReadRel_LocalFiles_FileOrFiles::set_allocated_parquet(::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions* parquet) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_file_format(); @@ -6402,6 +7633,21 @@ void ReadRel_LocalFiles_FileOrFiles::set_allocated_dwrf(::substrait::ReadRel_Loc } // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.dwrf) } +void ReadRel_LocalFiles_FileOrFiles::set_allocated_text(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* text) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_file_format(); + if (text) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions>::GetOwningArena(text); + if (message_arena != submessage_arena) { + text = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, text, submessage_arena); + } + set_has_text(); + file_format_.text_ = text; + } + // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.text) +} ReadRel_LocalFiles_FileOrFiles::ReadRel_LocalFiles_FileOrFiles(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -6461,6 +7707,10 @@ ReadRel_LocalFiles_FileOrFiles::ReadRel_LocalFiles_FileOrFiles(const ReadRel_Loc _internal_mutable_dwrf()->::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions::MergeFrom(from._internal_dwrf()); break; } + case kText: { + _internal_mutable_text()->::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::MergeFrom(from._internal_text()); + break; + } case FILE_FORMAT_NOT_SET: { break; } @@ -6563,6 +7813,12 @@ void ReadRel_LocalFiles_FileOrFiles::clear_file_format() { } break; } + case kText: { + if (GetArenaForAllocation() == nullptr) { + delete file_format_.text_; + } + break; + } case FILE_FORMAT_NOT_SET: { break; } @@ -6695,6 +7951,14 @@ const char* ReadRel_LocalFiles_FileOrFiles::_InternalParse(const char* ptr, ::PR } else goto handle_unusual; continue; + // .substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions text = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_text(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -6822,6 +8086,14 @@ uint8_t* ReadRel_LocalFiles_FileOrFiles::_InternalSerialize( 13, _Internal::dwrf(this), target, stream); } + // .substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions text = 14; + if (_internal_has_text()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 14, _Internal::text(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -6922,6 +8194,13 @@ size_t ReadRel_LocalFiles_FileOrFiles::ByteSizeLong() const { *file_format_.dwrf_); break; } + // .substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions text = 14; + case kText: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *file_format_.text_); + break; + } case FILE_FORMAT_NOT_SET: { break; } @@ -6999,6 +8278,10 @@ void ReadRel_LocalFiles_FileOrFiles::MergeFrom(const ReadRel_LocalFiles_FileOrFi _internal_mutable_dwrf()->::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions::MergeFrom(from._internal_dwrf()); break; } + case kText: { + _internal_mutable_text()->::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::MergeFrom(from._internal_text()); + break; + } case FILE_FORMAT_NOT_SET: { break; } @@ -7035,7 +8318,7 @@ void ReadRel_LocalFiles_FileOrFiles::InternalSwap(ReadRel_LocalFiles_FileOrFiles ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles_FileOrFiles::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[13]); + file_level_metadata_substrait_2falgebra_2eproto[16]); } // =================================================================== @@ -7269,7 +8552,7 @@ void ReadRel_LocalFiles::InternalSwap(ReadRel_LocalFiles* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel_LocalFiles::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[14]); + file_level_metadata_substrait_2falgebra_2eproto[17]); } // =================================================================== @@ -7951,7 +9234,7 @@ void ReadRel::InternalSwap(ReadRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[15]); + file_level_metadata_substrait_2falgebra_2eproto[18]); } // =================================================================== @@ -8275,7 +9558,7 @@ void ProjectRel::InternalSwap(ProjectRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ProjectRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[16]); + file_level_metadata_substrait_2falgebra_2eproto[19]); } // =================================================================== @@ -8716,7 +9999,7 @@ void JoinRel::InternalSwap(JoinRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata JoinRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[17]); + file_level_metadata_substrait_2falgebra_2eproto[20]); } // =================================================================== @@ -9048,7 +10331,7 @@ void CrossRel::InternalSwap(CrossRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CrossRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[18]); + file_level_metadata_substrait_2falgebra_2eproto[21]); } // =================================================================== @@ -9389,7 +10672,7 @@ void FetchRel::InternalSwap(FetchRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FetchRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[19]); + file_level_metadata_substrait_2falgebra_2eproto[22]); } // =================================================================== @@ -9401,7 +10684,8 @@ class AggregateRel_Grouping::_Internal { AggregateRel_Grouping::AggregateRel_Grouping(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - grouping_expressions_(arena) { + grouping_expressions_(arena), + expression_references_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); @@ -9410,7 +10694,8 @@ AggregateRel_Grouping::AggregateRel_Grouping(::PROTOBUF_NAMESPACE_ID::Arena* are } AggregateRel_Grouping::AggregateRel_Grouping(const AggregateRel_Grouping& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - grouping_expressions_(from.grouping_expressions_) { + grouping_expressions_(from.grouping_expressions_), + expression_references_(from.expression_references_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:substrait.AggregateRel.Grouping) } @@ -9446,6 +10731,7 @@ void AggregateRel_Grouping::Clear() { (void) cached_has_bits; grouping_expressions_.Clear(); + expression_references_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -9455,7 +10741,7 @@ const char* AggregateRel_Grouping::_InternalParse(const char* ptr, ::PROTOBUF_NA uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .substrait.Expression grouping_expressions = 1; + // repeated .substrait.Expression grouping_expressions = 1 [deprecated = true]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; @@ -9468,6 +10754,17 @@ const char* AggregateRel_Grouping::_InternalParse(const char* ptr, ::PROTOBUF_NA } else goto handle_unusual; continue; + // repeated uint32 expression_references = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_expression_references(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 16) { + _internal_add_expression_references(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -9497,7 +10794,7 @@ uint8_t* AggregateRel_Grouping::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .substrait.Expression grouping_expressions = 1; + // repeated .substrait.Expression grouping_expressions = 1 [deprecated = true]; for (unsigned int i = 0, n = static_cast(this->_internal_grouping_expressions_size()); i < n; i++) { target = stream->EnsureSpace(target); @@ -9505,6 +10802,15 @@ uint8_t* AggregateRel_Grouping::_InternalSerialize( InternalWriteMessage(1, this->_internal_grouping_expressions(i), target, stream); } + // repeated uint32 expression_references = 2; + { + int byte_size = _expression_references_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 2, _internal_expression_references(), byte_size, target); + } + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -9521,13 +10827,28 @@ size_t AggregateRel_Grouping::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .substrait.Expression grouping_expressions = 1; + // repeated .substrait.Expression grouping_expressions = 1 [deprecated = true]; total_size += 1UL * this->_internal_grouping_expressions_size(); for (const auto& msg : this->grouping_expressions_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // repeated uint32 expression_references = 2; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt32Size(this->expression_references_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _expression_references_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -9551,6 +10872,7 @@ void AggregateRel_Grouping::MergeFrom(const AggregateRel_Grouping& from) { (void) cached_has_bits; grouping_expressions_.MergeFrom(from.grouping_expressions_); + expression_references_.MergeFrom(from.expression_references_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -9569,12 +10891,13 @@ void AggregateRel_Grouping::InternalSwap(AggregateRel_Grouping* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); grouping_expressions_.InternalSwap(&other->grouping_expressions_); + expression_references_.InternalSwap(&other->expression_references_); } ::PROTOBUF_NAMESPACE_ID::Metadata AggregateRel_Grouping::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[20]); + file_level_metadata_substrait_2falgebra_2eproto[23]); } // =================================================================== @@ -9818,7 +11141,7 @@ void AggregateRel_Measure::InternalSwap(AggregateRel_Measure* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AggregateRel_Measure::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[21]); + file_level_metadata_substrait_2falgebra_2eproto[24]); } // =================================================================== @@ -9852,7 +11175,8 @@ AggregateRel::AggregateRel(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), groupings_(arena), - measures_(arena) { + measures_(arena), + grouping_expressions_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); @@ -9862,7 +11186,8 @@ AggregateRel::AggregateRel(::PROTOBUF_NAMESPACE_ID::Arena* arena, AggregateRel::AggregateRel(const AggregateRel& from) : ::PROTOBUF_NAMESPACE_ID::Message(), groupings_(from.groupings_), - measures_(from.measures_) { + measures_(from.measures_), + grouping_expressions_(from.grouping_expressions_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_common()) { common_ = new ::substrait::RelCommon(*from.common_); @@ -9921,6 +11246,7 @@ void AggregateRel::Clear() { groupings_.Clear(); measures_.Clear(); + grouping_expressions_.Clear(); if (GetArenaForAllocation() == nullptr && common_ != nullptr) { delete common_; } @@ -9984,6 +11310,19 @@ const char* AggregateRel::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I } else goto handle_unusual; continue; + // repeated .substrait.Expression grouping_expressions = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_grouping_expressions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; // .substrait.extensions.AdvancedExtension advanced_extension = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { @@ -10053,6 +11392,14 @@ uint8_t* AggregateRel::_InternalSerialize( InternalWriteMessage(4, this->_internal_measures(i), target, stream); } + // repeated .substrait.Expression grouping_expressions = 5; + for (unsigned int i = 0, + n = static_cast(this->_internal_grouping_expressions_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, this->_internal_grouping_expressions(i), target, stream); + } + // .substrait.extensions.AdvancedExtension advanced_extension = 10; if (this->_internal_has_advanced_extension()) { target = stream->EnsureSpace(target); @@ -10091,6 +11438,13 @@ size_t AggregateRel::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // repeated .substrait.Expression grouping_expressions = 5; + total_size += 1UL * this->_internal_grouping_expressions_size(); + for (const auto& msg : this->grouping_expressions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + // .substrait.RelCommon common = 1; if (this->_internal_has_common()) { total_size += 1 + @@ -10136,6 +11490,7 @@ void AggregateRel::MergeFrom(const AggregateRel& from) { groupings_.MergeFrom(from.groupings_); measures_.MergeFrom(from.measures_); + grouping_expressions_.MergeFrom(from.grouping_expressions_); if (from._internal_has_common()) { _internal_mutable_common()->::substrait::RelCommon::MergeFrom(from._internal_common()); } @@ -10164,6 +11519,7 @@ void AggregateRel::InternalSwap(AggregateRel* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); groupings_.InternalSwap(&other->groupings_); measures_.InternalSwap(&other->measures_); + grouping_expressions_.InternalSwap(&other->grouping_expressions_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AggregateRel, advanced_extension_) + sizeof(AggregateRel::advanced_extension_) @@ -10175,7 +11531,7 @@ void AggregateRel::InternalSwap(AggregateRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AggregateRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[22]); + file_level_metadata_substrait_2falgebra_2eproto[25]); } // =================================================================== @@ -10635,7 +11991,7 @@ void ConsistentPartitionWindowRel_WindowRelFunction::InternalSwap(ConsistentPart ::PROTOBUF_NAMESPACE_ID::Metadata ConsistentPartitionWindowRel_WindowRelFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[23]); + file_level_metadata_substrait_2falgebra_2eproto[26]); } // =================================================================== @@ -11025,7 +12381,7 @@ void ConsistentPartitionWindowRel::InternalSwap(ConsistentPartitionWindowRel* ot ::PROTOBUF_NAMESPACE_ID::Metadata ConsistentPartitionWindowRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[24]); + file_level_metadata_substrait_2falgebra_2eproto[27]); } // =================================================================== @@ -11349,7 +12705,7 @@ void SortRel::InternalSwap(SortRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SortRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[25]); + file_level_metadata_substrait_2falgebra_2eproto[28]); } // =================================================================== @@ -11681,7 +13037,7 @@ void FilterRel::InternalSwap(FilterRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FilterRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[26]); + file_level_metadata_substrait_2falgebra_2eproto[29]); } // =================================================================== @@ -11991,7 +13347,7 @@ void SetRel::InternalSwap(SetRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SetRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[27]); + file_level_metadata_substrait_2falgebra_2eproto[30]); } // =================================================================== @@ -12282,7 +13638,7 @@ void ExtensionSingleRel::InternalSwap(ExtensionSingleRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionSingleRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[28]); + file_level_metadata_substrait_2falgebra_2eproto[31]); } // =================================================================== @@ -12532,7 +13888,7 @@ void ExtensionLeafRel::InternalSwap(ExtensionLeafRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionLeafRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[29]); + file_level_metadata_substrait_2falgebra_2eproto[32]); } // =================================================================== @@ -12815,7 +14171,7 @@ void ExtensionMultiRel::InternalSwap(ExtensionMultiRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionMultiRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[30]); + file_level_metadata_substrait_2falgebra_2eproto[33]); } // =================================================================== @@ -13000,7 +14356,7 @@ void ExchangeRel_ScatterFields::InternalSwap(ExchangeRel_ScatterFields* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_ScatterFields::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[31]); + file_level_metadata_substrait_2falgebra_2eproto[34]); } // =================================================================== @@ -13195,7 +14551,7 @@ void ExchangeRel_SingleBucketExpression::InternalSwap(ExchangeRel_SingleBucketEx ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_SingleBucketExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[32]); + file_level_metadata_substrait_2falgebra_2eproto[35]); } // =================================================================== @@ -13422,7 +14778,7 @@ void ExchangeRel_MultiBucketExpression::InternalSwap(ExchangeRel_MultiBucketExpr ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_MultiBucketExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[33]); + file_level_metadata_substrait_2falgebra_2eproto[36]); } // =================================================================== @@ -13461,7 +14817,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExchangeRel_Broadcast::GetClas ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_Broadcast::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[34]); + file_level_metadata_substrait_2falgebra_2eproto[37]); } // =================================================================== @@ -13639,7 +14995,7 @@ void ExchangeRel_RoundRobin::InternalSwap(ExchangeRel_RoundRobin* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_RoundRobin::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[35]); + file_level_metadata_substrait_2falgebra_2eproto[38]); } // =================================================================== @@ -13971,7 +15327,7 @@ void ExchangeRel_ExchangeTarget::InternalSwap(ExchangeRel_ExchangeTarget* other) ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel_ExchangeTarget::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[36]); + file_level_metadata_substrait_2falgebra_2eproto[39]); } // =================================================================== @@ -14638,7 +15994,7 @@ void ExchangeRel::InternalSwap(ExchangeRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExchangeRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[37]); + file_level_metadata_substrait_2falgebra_2eproto[40]); } // =================================================================== @@ -14938,7 +16294,7 @@ void ExpandRel_ExpandField::InternalSwap(ExpandRel_ExpandField* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExpandRel_ExpandField::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[38]); + file_level_metadata_substrait_2falgebra_2eproto[41]); } // =================================================================== @@ -15123,7 +16479,7 @@ void ExpandRel_SwitchingField::InternalSwap(ExpandRel_SwitchingField* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExpandRel_SwitchingField::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[39]); + file_level_metadata_substrait_2falgebra_2eproto[42]); } // =================================================================== @@ -15400,7 +16756,7 @@ void ExpandRel::InternalSwap(ExpandRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExpandRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[40]); + file_level_metadata_substrait_2falgebra_2eproto[43]); } // =================================================================== @@ -15633,7 +16989,7 @@ void RelRoot::InternalSwap(RelRoot* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RelRoot::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[41]); + file_level_metadata_substrait_2falgebra_2eproto[44]); } // =================================================================== @@ -17016,7 +18372,7 @@ void Rel::InternalSwap(Rel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Rel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[42]); + file_level_metadata_substrait_2falgebra_2eproto[45]); } // =================================================================== @@ -17255,7 +18611,7 @@ void NamedObjectWrite::InternalSwap(NamedObjectWrite* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NamedObjectWrite::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[43]); + file_level_metadata_substrait_2falgebra_2eproto[46]); } // =================================================================== @@ -17456,7 +18812,7 @@ void ExtensionObject::InternalSwap(ExtensionObject* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionObject::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[44]); + file_level_metadata_substrait_2falgebra_2eproto[47]); } // =================================================================== @@ -17992,7 +19348,7 @@ void DdlRel::InternalSwap(DdlRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DdlRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[45]); + file_level_metadata_substrait_2falgebra_2eproto[48]); } // =================================================================== @@ -18487,7 +19843,7 @@ void WriteRel::InternalSwap(WriteRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata WriteRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[46]); + file_level_metadata_substrait_2falgebra_2eproto[49]); } // =================================================================== @@ -18738,7 +20094,7 @@ void ComparisonJoinKey_ComparisonType::InternalSwap(ComparisonJoinKey_Comparison ::PROTOBUF_NAMESPACE_ID::Metadata ComparisonJoinKey_ComparisonType::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[47]); + file_level_metadata_substrait_2falgebra_2eproto[50]); } // =================================================================== @@ -19023,7 +20379,7 @@ void ComparisonJoinKey::InternalSwap(ComparisonJoinKey* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ComparisonJoinKey::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[48]); + file_level_metadata_substrait_2falgebra_2eproto[51]); } // =================================================================== @@ -19522,7 +20878,7 @@ void HashJoinRel::InternalSwap(HashJoinRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata HashJoinRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[49]); + file_level_metadata_substrait_2falgebra_2eproto[52]); } // =================================================================== @@ -20021,7 +21377,7 @@ void MergeJoinRel::InternalSwap(MergeJoinRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MergeJoinRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[50]); + file_level_metadata_substrait_2falgebra_2eproto[53]); } // =================================================================== @@ -20421,7 +21777,7 @@ void NestedLoopJoinRel::InternalSwap(NestedLoopJoinRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NestedLoopJoinRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[51]); + file_level_metadata_substrait_2falgebra_2eproto[54]); } // =================================================================== @@ -20770,7 +22126,7 @@ void FunctionArgument::InternalSwap(FunctionArgument* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FunctionArgument::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[52]); + file_level_metadata_substrait_2falgebra_2eproto[55]); } // =================================================================== @@ -21011,7 +22367,7 @@ void FunctionOption::InternalSwap(FunctionOption* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FunctionOption::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[53]); + file_level_metadata_substrait_2falgebra_2eproto[56]); } // =================================================================== @@ -21050,7 +22406,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression_Enum_Empty::GetClas ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Enum_Empty::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[54]); + file_level_metadata_substrait_2falgebra_2eproto[57]); } // =================================================================== @@ -21332,7 +22688,7 @@ void Expression_Enum::InternalSwap(Expression_Enum* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Enum::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[55]); + file_level_metadata_substrait_2falgebra_2eproto[58]); } // =================================================================== @@ -21561,7 +22917,7 @@ void Expression_Literal_VarChar::InternalSwap(Expression_Literal_VarChar* other) ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_VarChar::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[56]); + file_level_metadata_substrait_2falgebra_2eproto[59]); } // =================================================================== @@ -21819,7 +23175,7 @@ void Expression_Literal_Decimal::InternalSwap(Expression_Literal_Decimal* other) ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_Decimal::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[57]); + file_level_metadata_substrait_2falgebra_2eproto[60]); } // =================================================================== @@ -22031,7 +23387,7 @@ void Expression_Literal_PrecisionTimestamp::InternalSwap(Expression_Literal_Prec ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_PrecisionTimestamp::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[58]); + file_level_metadata_substrait_2falgebra_2eproto[61]); } // =================================================================== @@ -22275,7 +23631,7 @@ void Expression_Literal_Map_KeyValue::InternalSwap(Expression_Literal_Map_KeyVal ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_Map_KeyValue::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[59]); + file_level_metadata_substrait_2falgebra_2eproto[62]); } // =================================================================== @@ -22460,7 +23816,7 @@ void Expression_Literal_Map::InternalSwap(Expression_Literal_Map* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_Map::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[60]); + file_level_metadata_substrait_2falgebra_2eproto[63]); } // =================================================================== @@ -22672,7 +24028,7 @@ void Expression_Literal_IntervalYearToMonth::InternalSwap(Expression_Literal_Int ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_IntervalYearToMonth::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[61]); + file_level_metadata_substrait_2falgebra_2eproto[64]); } // =================================================================== @@ -22694,16 +24050,31 @@ Expression_Literal_IntervalDayToSecond::Expression_Literal_IntervalDayToSecond(c : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&days_, &from.days_, - static_cast(reinterpret_cast(µseconds_) - - reinterpret_cast(&days_)) + sizeof(microseconds_)); + static_cast(reinterpret_cast(&subseconds_) - + reinterpret_cast(&days_)) + sizeof(subseconds_)); + clear_has_precision_mode(); + switch (from.precision_mode_case()) { + case kMicroseconds: { + _internal_set_microseconds(from._internal_microseconds()); + break; + } + case kPrecision: { + _internal_set_precision(from._internal_precision()); + break; + } + case PRECISION_MODE_NOT_SET: { + break; + } + } // @@protoc_insertion_point(copy_constructor:substrait.Expression.Literal.IntervalDayToSecond) } inline void Expression_Literal_IntervalDayToSecond::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&days_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(µseconds_) - - reinterpret_cast(&days_)) + sizeof(microseconds_)); + 0, static_cast(reinterpret_cast(&subseconds_) - + reinterpret_cast(&days_)) + sizeof(subseconds_)); +clear_has_precision_mode(); } Expression_Literal_IntervalDayToSecond::~Expression_Literal_IntervalDayToSecond() { @@ -22715,6 +24086,9 @@ Expression_Literal_IntervalDayToSecond::~Expression_Literal_IntervalDayToSecond( inline void Expression_Literal_IntervalDayToSecond::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (has_precision_mode()) { + clear_precision_mode(); + } } void Expression_Literal_IntervalDayToSecond::ArenaDtor(void* object) { @@ -22727,6 +24101,25 @@ void Expression_Literal_IntervalDayToSecond::SetCachedSize(int size) const { _cached_size_.Set(size); } +void Expression_Literal_IntervalDayToSecond::clear_precision_mode() { +// @@protoc_insertion_point(one_of_clear_start:substrait.Expression.Literal.IntervalDayToSecond) + switch (precision_mode_case()) { + case kMicroseconds: { + // No need to clear + break; + } + case kPrecision: { + // No need to clear + break; + } + case PRECISION_MODE_NOT_SET: { + break; + } + } + _oneof_case_[0] = PRECISION_MODE_NOT_SET; +} + + void Expression_Literal_IntervalDayToSecond::Clear() { // @@protoc_insertion_point(message_clear_start:substrait.Expression.Literal.IntervalDayToSecond) uint32_t cached_has_bits = 0; @@ -22734,8 +24127,9 @@ void Expression_Literal_IntervalDayToSecond::Clear() { (void) cached_has_bits; ::memset(&days_, 0, static_cast( - reinterpret_cast(µseconds_) - - reinterpret_cast(&days_)) + sizeof(microseconds_)); + reinterpret_cast(&subseconds_) - + reinterpret_cast(&days_)) + sizeof(subseconds_)); + clear_precision_mode(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -22761,10 +24155,26 @@ const char* Expression_Literal_IntervalDayToSecond::_InternalParse(const char* p } else goto handle_unusual; continue; - // int32 microseconds = 3; + // int32 microseconds = 3 [deprecated = true]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - microseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + _internal_set_microseconds(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 precision = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _internal_set_precision(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int64 subseconds = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + subseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; @@ -22810,12 +24220,24 @@ uint8_t* Expression_Literal_IntervalDayToSecond::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_seconds(), target); } - // int32 microseconds = 3; - if (this->_internal_microseconds() != 0) { + // int32 microseconds = 3 [deprecated = true]; + if (_internal_has_microseconds()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_microseconds(), target); } + // int32 precision = 4; + if (_internal_has_precision()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_precision(), target); + } + + // int64 subseconds = 5; + if (this->_internal_subseconds() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_subseconds(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -22842,11 +24264,26 @@ size_t Expression_Literal_IntervalDayToSecond::ByteSizeLong() const { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_seconds()); } - // int32 microseconds = 3; - if (this->_internal_microseconds() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_microseconds()); + // int64 subseconds = 5; + if (this->_internal_subseconds() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_subseconds()); } + switch (precision_mode_case()) { + // int32 microseconds = 3 [deprecated = true]; + case kMicroseconds: { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_microseconds()); + break; + } + // int32 precision = 4; + case kPrecision: { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_precision()); + break; + } + case PRECISION_MODE_NOT_SET: { + break; + } + } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -22875,8 +24312,21 @@ void Expression_Literal_IntervalDayToSecond::MergeFrom(const Expression_Literal_ if (from._internal_seconds() != 0) { _internal_set_seconds(from._internal_seconds()); } - if (from._internal_microseconds() != 0) { - _internal_set_microseconds(from._internal_microseconds()); + if (from._internal_subseconds() != 0) { + _internal_set_subseconds(from._internal_subseconds()); + } + switch (from.precision_mode_case()) { + case kMicroseconds: { + _internal_set_microseconds(from._internal_microseconds()); + break; + } + case kPrecision: { + _internal_set_precision(from._internal_precision()); + break; + } + case PRECISION_MODE_NOT_SET: { + break; + } } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -22896,17 +24346,263 @@ void Expression_Literal_IntervalDayToSecond::InternalSwap(Expression_Literal_Int using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Expression_Literal_IntervalDayToSecond, microseconds_) - + sizeof(Expression_Literal_IntervalDayToSecond::microseconds_) + PROTOBUF_FIELD_OFFSET(Expression_Literal_IntervalDayToSecond, subseconds_) + + sizeof(Expression_Literal_IntervalDayToSecond::subseconds_) - PROTOBUF_FIELD_OFFSET(Expression_Literal_IntervalDayToSecond, days_)>( reinterpret_cast(&days_), reinterpret_cast(&other->days_)); + swap(precision_mode_, other->precision_mode_); + swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_IntervalDayToSecond::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[62]); + file_level_metadata_substrait_2falgebra_2eproto[65]); +} + +// =================================================================== + +class Expression_Literal_IntervalCompound::_Internal { + public: + static const ::substrait::Expression_Literal_IntervalYearToMonth& interval_year_to_month(const Expression_Literal_IntervalCompound* msg); + static const ::substrait::Expression_Literal_IntervalDayToSecond& interval_day_to_second(const Expression_Literal_IntervalCompound* msg); +}; + +const ::substrait::Expression_Literal_IntervalYearToMonth& +Expression_Literal_IntervalCompound::_Internal::interval_year_to_month(const Expression_Literal_IntervalCompound* msg) { + return *msg->interval_year_to_month_; +} +const ::substrait::Expression_Literal_IntervalDayToSecond& +Expression_Literal_IntervalCompound::_Internal::interval_day_to_second(const Expression_Literal_IntervalCompound* msg) { + return *msg->interval_day_to_second_; +} +Expression_Literal_IntervalCompound::Expression_Literal_IntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.Expression.Literal.IntervalCompound) +} +Expression_Literal_IntervalCompound::Expression_Literal_IntervalCompound(const Expression_Literal_IntervalCompound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_interval_year_to_month()) { + interval_year_to_month_ = new ::substrait::Expression_Literal_IntervalYearToMonth(*from.interval_year_to_month_); + } else { + interval_year_to_month_ = nullptr; + } + if (from._internal_has_interval_day_to_second()) { + interval_day_to_second_ = new ::substrait::Expression_Literal_IntervalDayToSecond(*from.interval_day_to_second_); + } else { + interval_day_to_second_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:substrait.Expression.Literal.IntervalCompound) +} + +inline void Expression_Literal_IntervalCompound::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&interval_year_to_month_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&interval_day_to_second_) - + reinterpret_cast(&interval_year_to_month_)) + sizeof(interval_day_to_second_)); +} + +Expression_Literal_IntervalCompound::~Expression_Literal_IntervalCompound() { + // @@protoc_insertion_point(destructor:substrait.Expression.Literal.IntervalCompound) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void Expression_Literal_IntervalCompound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete interval_year_to_month_; + if (this != internal_default_instance()) delete interval_day_to_second_; +} + +void Expression_Literal_IntervalCompound::ArenaDtor(void* object) { + Expression_Literal_IntervalCompound* _this = reinterpret_cast< Expression_Literal_IntervalCompound* >(object); + (void)_this; +} +void Expression_Literal_IntervalCompound::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Expression_Literal_IntervalCompound::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void Expression_Literal_IntervalCompound::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.Expression.Literal.IntervalCompound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && interval_year_to_month_ != nullptr) { + delete interval_year_to_month_; + } + interval_year_to_month_ = nullptr; + if (GetArenaForAllocation() == nullptr && interval_day_to_second_ != nullptr) { + delete interval_day_to_second_; + } + interval_day_to_second_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Expression_Literal_IntervalCompound::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_year_to_month(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_day_to_second(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Expression_Literal_IntervalCompound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.Expression.Literal.IntervalCompound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 1; + if (this->_internal_has_interval_year_to_month()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::interval_year_to_month(this), target, stream); + } + + // .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 2; + if (this->_internal_has_interval_day_to_second()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::interval_day_to_second(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.Expression.Literal.IntervalCompound) + return target; +} + +size_t Expression_Literal_IntervalCompound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.Expression.Literal.IntervalCompound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 1; + if (this->_internal_has_interval_year_to_month()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *interval_year_to_month_); + } + + // .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 2; + if (this->_internal_has_interval_day_to_second()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *interval_day_to_second_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Expression_Literal_IntervalCompound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + Expression_Literal_IntervalCompound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression_Literal_IntervalCompound::GetClassData() const { return &_class_data_; } + +void Expression_Literal_IntervalCompound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void Expression_Literal_IntervalCompound::MergeFrom(const Expression_Literal_IntervalCompound& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.Expression.Literal.IntervalCompound) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_interval_year_to_month()) { + _internal_mutable_interval_year_to_month()->::substrait::Expression_Literal_IntervalYearToMonth::MergeFrom(from._internal_interval_year_to_month()); + } + if (from._internal_has_interval_day_to_second()) { + _internal_mutable_interval_day_to_second()->::substrait::Expression_Literal_IntervalDayToSecond::MergeFrom(from._internal_interval_day_to_second()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Expression_Literal_IntervalCompound::CopyFrom(const Expression_Literal_IntervalCompound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.Expression.Literal.IntervalCompound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Expression_Literal_IntervalCompound::IsInitialized() const { + return true; +} + +void Expression_Literal_IntervalCompound::InternalSwap(Expression_Literal_IntervalCompound* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Expression_Literal_IntervalCompound, interval_day_to_second_) + + sizeof(Expression_Literal_IntervalCompound::interval_day_to_second_) + - PROTOBUF_FIELD_OFFSET(Expression_Literal_IntervalCompound, interval_year_to_month_)>( + reinterpret_cast(&interval_year_to_month_), + reinterpret_cast(&other->interval_year_to_month_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_IntervalCompound::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, + file_level_metadata_substrait_2falgebra_2eproto[66]); } // =================================================================== @@ -23091,7 +24787,7 @@ void Expression_Literal_Struct::InternalSwap(Expression_Literal_Struct* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_Struct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[63]); + file_level_metadata_substrait_2falgebra_2eproto[67]); } // =================================================================== @@ -23276,7 +24972,7 @@ void Expression_Literal_List::InternalSwap(Expression_Literal_List* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_List::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[64]); + file_level_metadata_substrait_2falgebra_2eproto[68]); } // =================================================================== @@ -23648,7 +25344,7 @@ void Expression_Literal_UserDefined::InternalSwap(Expression_Literal_UserDefined ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal_UserDefined::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[65]); + file_level_metadata_substrait_2falgebra_2eproto[69]); } // =================================================================== @@ -23657,6 +25353,7 @@ class Expression_Literal::_Internal { public: static const ::substrait::Expression_Literal_IntervalYearToMonth& interval_year_to_month(const Expression_Literal* msg); static const ::substrait::Expression_Literal_IntervalDayToSecond& interval_day_to_second(const Expression_Literal* msg); + static const ::substrait::Expression_Literal_IntervalCompound& interval_compound(const Expression_Literal* msg); static const ::substrait::Expression_Literal_VarChar& var_char(const Expression_Literal* msg); static const ::substrait::Expression_Literal_Decimal& decimal(const Expression_Literal* msg); static const ::substrait::Expression_Literal_PrecisionTimestamp& precision_timestamp(const Expression_Literal* msg); @@ -23678,6 +25375,10 @@ const ::substrait::Expression_Literal_IntervalDayToSecond& Expression_Literal::_Internal::interval_day_to_second(const Expression_Literal* msg) { return *msg->literal_type_.interval_day_to_second_; } +const ::substrait::Expression_Literal_IntervalCompound& +Expression_Literal::_Internal::interval_compound(const Expression_Literal* msg) { + return *msg->literal_type_.interval_compound_; +} const ::substrait::Expression_Literal_VarChar& Expression_Literal::_Internal::var_char(const Expression_Literal* msg) { return *msg->literal_type_.var_char_; @@ -23752,6 +25453,21 @@ void Expression_Literal::set_allocated_interval_day_to_second(::substrait::Expre } // @@protoc_insertion_point(field_set_allocated:substrait.Expression.Literal.interval_day_to_second) } +void Expression_Literal::set_allocated_interval_compound(::substrait::Expression_Literal_IntervalCompound* interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_literal_type(); + if (interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::Expression_Literal_IntervalCompound>::GetOwningArena(interval_compound); + if (message_arena != submessage_arena) { + interval_compound = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_compound, submessage_arena); + } + set_has_interval_compound(); + literal_type_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_set_allocated:substrait.Expression.Literal.interval_compound) +} void Expression_Literal::set_allocated_var_char(::substrait::Expression_Literal_VarChar* var_char) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_literal_type(); @@ -24020,6 +25736,10 @@ Expression_Literal::Expression_Literal(const Expression_Literal& from) _internal_mutable_interval_day_to_second()->::substrait::Expression_Literal_IntervalDayToSecond::MergeFrom(from._internal_interval_day_to_second()); break; } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::Expression_Literal_IntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kFixedChar: { _internal_set_fixed_char(from._internal_fixed_char()); break; @@ -24182,6 +25902,12 @@ void Expression_Literal::clear_literal_type() { } break; } + case kIntervalCompound: { + if (GetArenaForAllocation() == nullptr) { + delete literal_type_.interval_compound_; + } + break; + } case kFixedChar: { literal_type_.fixed_char_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); break; @@ -24530,6 +26256,14 @@ const char* Expression_Literal::_InternalParse(const char* ptr, ::PROTOBUF_NAMES } else goto handle_unusual; continue; + // .substrait.Expression.Literal.IntervalCompound interval_compound = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_compound(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; // bool nullable = 50; case 50: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { @@ -24783,6 +26517,14 @@ uint8_t* Expression_Literal::_InternalSerialize( 35, _Internal::precision_timestamp_tz(this), target, stream); } + // .substrait.Expression.Literal.IntervalCompound interval_compound = 36; + if (_internal_has_interval_compound()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 36, _Internal::interval_compound(this), target, stream); + } + // bool nullable = 50; if (this->_internal_nullable() != 0) { target = stream->EnsureSpace(target); @@ -24906,6 +26648,13 @@ size_t Expression_Literal::ByteSizeLong() const { *literal_type_.interval_day_to_second_); break; } + // .substrait.Expression.Literal.IntervalCompound interval_compound = 36; + case kIntervalCompound: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *literal_type_.interval_compound_); + break; + } // string fixed_char = 21; case kFixedChar: { total_size += 2 + @@ -25100,6 +26849,10 @@ void Expression_Literal::MergeFrom(const Expression_Literal& from) { _internal_mutable_interval_day_to_second()->::substrait::Expression_Literal_IntervalDayToSecond::MergeFrom(from._internal_interval_day_to_second()); break; } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::Expression_Literal_IntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kFixedChar: { _internal_set_fixed_char(from._internal_fixed_char()); break; @@ -25194,7 +26947,7 @@ void Expression_Literal::InternalSwap(Expression_Literal* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Literal::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[66]); + file_level_metadata_substrait_2falgebra_2eproto[70]); } // =================================================================== @@ -25438,7 +27191,7 @@ void Expression_Nested_Map_KeyValue::InternalSwap(Expression_Nested_Map_KeyValue ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Nested_Map_KeyValue::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[67]); + file_level_metadata_substrait_2falgebra_2eproto[71]); } // =================================================================== @@ -25623,7 +27376,7 @@ void Expression_Nested_Map::InternalSwap(Expression_Nested_Map* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Nested_Map::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[68]); + file_level_metadata_substrait_2falgebra_2eproto[72]); } // =================================================================== @@ -25808,7 +27561,7 @@ void Expression_Nested_Struct::InternalSwap(Expression_Nested_Struct* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Nested_Struct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[69]); + file_level_metadata_substrait_2falgebra_2eproto[73]); } // =================================================================== @@ -25993,7 +27746,7 @@ void Expression_Nested_List::InternalSwap(Expression_Nested_List* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Nested_List::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[70]); + file_level_metadata_substrait_2falgebra_2eproto[74]); } // =================================================================== @@ -26410,7 +28163,7 @@ void Expression_Nested::InternalSwap(Expression_Nested* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Nested::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[71]); + file_level_metadata_substrait_2falgebra_2eproto[75]); } // =================================================================== @@ -26742,7 +28495,7 @@ void Expression_ScalarFunction::InternalSwap(Expression_ScalarFunction* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_ScalarFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[72]); + file_level_metadata_substrait_2falgebra_2eproto[76]); } // =================================================================== @@ -26920,7 +28673,7 @@ void Expression_WindowFunction_Bound_Preceding::InternalSwap(Expression_WindowFu ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction_Bound_Preceding::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[73]); + file_level_metadata_substrait_2falgebra_2eproto[77]); } // =================================================================== @@ -27098,7 +28851,7 @@ void Expression_WindowFunction_Bound_Following::InternalSwap(Expression_WindowFu ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction_Bound_Following::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[74]); + file_level_metadata_substrait_2falgebra_2eproto[78]); } // =================================================================== @@ -27137,7 +28890,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression_WindowFunction_Boun ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction_Bound_CurrentRow::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[75]); + file_level_metadata_substrait_2falgebra_2eproto[79]); } // =================================================================== @@ -27176,7 +28929,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression_WindowFunction_Boun ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction_Bound_Unbounded::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[76]); + file_level_metadata_substrait_2falgebra_2eproto[80]); } // =================================================================== @@ -27590,7 +29343,7 @@ void Expression_WindowFunction_Bound::InternalSwap(Expression_WindowFunction_Bou ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction_Bound::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[77]); + file_level_metadata_substrait_2falgebra_2eproto[81]); } // =================================================================== @@ -28149,7 +29902,7 @@ void Expression_WindowFunction::InternalSwap(Expression_WindowFunction* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_WindowFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[78]); + file_level_metadata_substrait_2falgebra_2eproto[82]); } // =================================================================== @@ -28393,7 +30146,7 @@ void Expression_IfThen_IfClause::InternalSwap(Expression_IfThen_IfClause* other) ::PROTOBUF_NAMESPACE_ID::Metadata Expression_IfThen_IfClause::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[79]); + file_level_metadata_substrait_2falgebra_2eproto[83]); } // =================================================================== @@ -28621,7 +30374,7 @@ void Expression_IfThen::InternalSwap(Expression_IfThen* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_IfThen::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[80]); + file_level_metadata_substrait_2falgebra_2eproto[84]); } // =================================================================== @@ -28898,7 +30651,7 @@ void Expression_Cast::InternalSwap(Expression_Cast* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Cast::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[81]); + file_level_metadata_substrait_2falgebra_2eproto[85]); } // =================================================================== @@ -29142,7 +30895,7 @@ void Expression_SwitchExpression_IfValue::InternalSwap(Expression_SwitchExpressi ::PROTOBUF_NAMESPACE_ID::Metadata Expression_SwitchExpression_IfValue::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[82]); + file_level_metadata_substrait_2falgebra_2eproto[86]); } // =================================================================== @@ -29419,7 +31172,7 @@ void Expression_SwitchExpression::InternalSwap(Expression_SwitchExpression* othe ::PROTOBUF_NAMESPACE_ID::Metadata Expression_SwitchExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[83]); + file_level_metadata_substrait_2falgebra_2eproto[87]); } // =================================================================== @@ -29647,7 +31400,7 @@ void Expression_SingularOrList::InternalSwap(Expression_SingularOrList* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_SingularOrList::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[84]); + file_level_metadata_substrait_2falgebra_2eproto[88]); } // =================================================================== @@ -29832,7 +31585,7 @@ void Expression_MultiOrList_Record::InternalSwap(Expression_MultiOrList_Record* ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MultiOrList_Record::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[85]); + file_level_metadata_substrait_2falgebra_2eproto[89]); } // =================================================================== @@ -30050,7 +31803,7 @@ void Expression_MultiOrList::InternalSwap(Expression_MultiOrList* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MultiOrList::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[86]); + file_level_metadata_substrait_2falgebra_2eproto[90]); } // =================================================================== @@ -30286,7 +32039,7 @@ void Expression_EmbeddedFunction_PythonPickleFunction::InternalSwap(Expression_E ::PROTOBUF_NAMESPACE_ID::Metadata Expression_EmbeddedFunction_PythonPickleFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[87]); + file_level_metadata_substrait_2falgebra_2eproto[91]); } // =================================================================== @@ -30522,7 +32275,7 @@ void Expression_EmbeddedFunction_WebAssemblyFunction::InternalSwap(Expression_Em ::PROTOBUF_NAMESPACE_ID::Metadata Expression_EmbeddedFunction_WebAssemblyFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[88]); + file_level_metadata_substrait_2falgebra_2eproto[92]); } // =================================================================== @@ -30904,7 +32657,7 @@ void Expression_EmbeddedFunction::InternalSwap(Expression_EmbeddedFunction* othe ::PROTOBUF_NAMESPACE_ID::Metadata Expression_EmbeddedFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[89]); + file_level_metadata_substrait_2falgebra_2eproto[93]); } // =================================================================== @@ -31148,7 +32901,7 @@ void Expression_ReferenceSegment_MapKey::InternalSwap(Expression_ReferenceSegmen ::PROTOBUF_NAMESPACE_ID::Metadata Expression_ReferenceSegment_MapKey::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[90]); + file_level_metadata_substrait_2falgebra_2eproto[94]); } // =================================================================== @@ -31375,7 +33128,7 @@ void Expression_ReferenceSegment_StructField::InternalSwap(Expression_ReferenceS ::PROTOBUF_NAMESPACE_ID::Metadata Expression_ReferenceSegment_StructField::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[91]); + file_level_metadata_substrait_2falgebra_2eproto[95]); } // =================================================================== @@ -31602,7 +33355,7 @@ void Expression_ReferenceSegment_ListElement::InternalSwap(Expression_ReferenceS ::PROTOBUF_NAMESPACE_ID::Metadata Expression_ReferenceSegment_ListElement::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[92]); + file_level_metadata_substrait_2falgebra_2eproto[96]); } // =================================================================== @@ -31959,7 +33712,7 @@ void Expression_ReferenceSegment::InternalSwap(Expression_ReferenceSegment* othe ::PROTOBUF_NAMESPACE_ID::Metadata Expression_ReferenceSegment::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[93]); + file_level_metadata_substrait_2falgebra_2eproto[97]); } // =================================================================== @@ -32316,7 +34069,7 @@ void Expression_MaskExpression_Select::InternalSwap(Expression_MaskExpression_Se ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_Select::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[94]); + file_level_metadata_substrait_2falgebra_2eproto[98]); } // =================================================================== @@ -32501,7 +34254,7 @@ void Expression_MaskExpression_StructSelect::InternalSwap(Expression_MaskExpress ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_StructSelect::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[95]); + file_level_metadata_substrait_2falgebra_2eproto[99]); } // =================================================================== @@ -32728,7 +34481,7 @@ void Expression_MaskExpression_StructItem::InternalSwap(Expression_MaskExpressio ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_StructItem::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[96]); + file_level_metadata_substrait_2falgebra_2eproto[100]); } // =================================================================== @@ -32906,7 +34659,7 @@ void Expression_MaskExpression_ListSelect_ListSelectItem_ListElement::InternalSw ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_ListSelect_ListSelectItem_ListElement::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[97]); + file_level_metadata_substrait_2falgebra_2eproto[101]); } // =================================================================== @@ -33118,7 +34871,7 @@ void Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice::InternalSwap ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[98]); + file_level_metadata_substrait_2falgebra_2eproto[102]); } // =================================================================== @@ -33418,7 +35171,7 @@ void Expression_MaskExpression_ListSelect_ListSelectItem::InternalSwap(Expressio ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_ListSelect_ListSelectItem::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[99]); + file_level_metadata_substrait_2falgebra_2eproto[103]); } // =================================================================== @@ -33646,7 +35399,7 @@ void Expression_MaskExpression_ListSelect::InternalSwap(Expression_MaskExpressio ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_ListSelect::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[100]); + file_level_metadata_substrait_2falgebra_2eproto[104]); } // =================================================================== @@ -33849,7 +35602,7 @@ void Expression_MaskExpression_MapSelect_MapKey::InternalSwap(Expression_MaskExp ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_MapSelect_MapKey::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[101]); + file_level_metadata_substrait_2falgebra_2eproto[105]); } // =================================================================== @@ -34052,7 +35805,7 @@ void Expression_MaskExpression_MapSelect_MapKeyExpression::InternalSwap(Expressi ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_MapSelect_MapKeyExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[102]); + file_level_metadata_substrait_2falgebra_2eproto[106]); } // =================================================================== @@ -34395,7 +36148,7 @@ void Expression_MaskExpression_MapSelect::InternalSwap(Expression_MaskExpression ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression_MapSelect::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[103]); + file_level_metadata_substrait_2falgebra_2eproto[107]); } // =================================================================== @@ -34622,7 +36375,7 @@ void Expression_MaskExpression::InternalSwap(Expression_MaskExpression* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_MaskExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[104]); + file_level_metadata_substrait_2falgebra_2eproto[108]); } // =================================================================== @@ -34661,7 +36414,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression_FieldReference_Root ::PROTOBUF_NAMESPACE_ID::Metadata Expression_FieldReference_RootReference::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[105]); + file_level_metadata_substrait_2falgebra_2eproto[109]); } // =================================================================== @@ -34839,7 +36592,7 @@ void Expression_FieldReference_OuterReference::InternalSwap(Expression_FieldRefe ::PROTOBUF_NAMESPACE_ID::Metadata Expression_FieldReference_OuterReference::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[106]); + file_level_metadata_substrait_2falgebra_2eproto[110]); } // =================================================================== @@ -35343,7 +37096,7 @@ void Expression_FieldReference::InternalSwap(Expression_FieldReference* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_FieldReference::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[107]); + file_level_metadata_substrait_2falgebra_2eproto[111]); } // =================================================================== @@ -35538,7 +37291,7 @@ void Expression_Subquery_Scalar::InternalSwap(Expression_Subquery_Scalar* other) ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Subquery_Scalar::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[108]); + file_level_metadata_substrait_2falgebra_2eproto[112]); } // =================================================================== @@ -35766,7 +37519,7 @@ void Expression_Subquery_InPredicate::InternalSwap(Expression_Subquery_InPredica ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Subquery_InPredicate::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[109]); + file_level_metadata_substrait_2falgebra_2eproto[113]); } // =================================================================== @@ -35996,7 +37749,7 @@ void Expression_Subquery_SetPredicate::InternalSwap(Expression_Subquery_SetPredi ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Subquery_SetPredicate::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[110]); + file_level_metadata_substrait_2falgebra_2eproto[114]); } // =================================================================== @@ -36296,7 +38049,7 @@ void Expression_Subquery_SetComparison::InternalSwap(Expression_Subquery_SetComp ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Subquery_SetComparison::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[111]); + file_level_metadata_substrait_2falgebra_2eproto[115]); } // =================================================================== @@ -36710,7 +38463,7 @@ void Expression_Subquery::InternalSwap(Expression_Subquery* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression_Subquery::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[112]); + file_level_metadata_substrait_2falgebra_2eproto[116]); } // =================================================================== @@ -37580,7 +39333,7 @@ void Expression::InternalSwap(Expression* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Expression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[113]); + file_level_metadata_substrait_2falgebra_2eproto[117]); } // =================================================================== @@ -37874,7 +39627,7 @@ void SortField::InternalSwap(SortField* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SortField::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[114]); + file_level_metadata_substrait_2falgebra_2eproto[118]); } // =================================================================== @@ -38293,7 +40046,7 @@ void AggregateFunction::InternalSwap(AggregateFunction* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AggregateFunction::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[115]); + file_level_metadata_substrait_2falgebra_2eproto[119]); } // =================================================================== @@ -38471,7 +40224,7 @@ void ReferenceRel::InternalSwap(ReferenceRel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReferenceRel::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2falgebra_2eproto_getter, &descriptor_table_substrait_2falgebra_2eproto_once, - file_level_metadata_substrait_2falgebra_2eproto[116]); + file_level_metadata_substrait_2falgebra_2eproto[120]); } // @@protoc_insertion_point(namespace_scope) @@ -38489,6 +40242,12 @@ template<> PROTOBUF_NOINLINE ::substrait::RelCommon_Hint_Stats* Arena::CreateMay template<> PROTOBUF_NOINLINE ::substrait::RelCommon_Hint_RuntimeConstraint* Arena::CreateMaybeMessage< ::substrait::RelCommon_Hint_RuntimeConstraint >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::RelCommon_Hint_RuntimeConstraint >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::RelCommon_Hint_SavedComputation* Arena::CreateMaybeMessage< ::substrait::RelCommon_Hint_SavedComputation >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::RelCommon_Hint_SavedComputation >(arena); +} +template<> PROTOBUF_NOINLINE ::substrait::RelCommon_Hint_LoadedComputation* Arena::CreateMaybeMessage< ::substrait::RelCommon_Hint_LoadedComputation >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::RelCommon_Hint_LoadedComputation >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::RelCommon_Hint* Arena::CreateMaybeMessage< ::substrait::RelCommon_Hint >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::RelCommon_Hint >(arena); } @@ -38516,6 +40275,9 @@ template<> PROTOBUF_NOINLINE ::substrait::ReadRel_LocalFiles_FileOrFiles_OrcRead template<> PROTOBUF_NOINLINE ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* Arena::CreateMaybeMessage< ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* Arena::CreateMaybeMessage< ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::ReadRel_LocalFiles_FileOrFiles* Arena::CreateMaybeMessage< ::substrait::ReadRel_LocalFiles_FileOrFiles >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::ReadRel_LocalFiles_FileOrFiles >(arena); } @@ -38666,6 +40428,9 @@ template<> PROTOBUF_NOINLINE ::substrait::Expression_Literal_IntervalYearToMonth template<> PROTOBUF_NOINLINE ::substrait::Expression_Literal_IntervalDayToSecond* Arena::CreateMaybeMessage< ::substrait::Expression_Literal_IntervalDayToSecond >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::Expression_Literal_IntervalDayToSecond >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::Expression_Literal_IntervalCompound* Arena::CreateMaybeMessage< ::substrait::Expression_Literal_IntervalCompound >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::Expression_Literal_IntervalCompound >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::Expression_Literal_Struct* Arena::CreateMaybeMessage< ::substrait::Expression_Literal_Struct >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::Expression_Literal_Struct >(arena); } diff --git a/third_party/substrait/substrait/algebra.pb.h b/third_party/substrait/substrait/algebra.pb.h index 522ea11..93068c9 100644 --- a/third_party/substrait/substrait/algebra.pb.h +++ b/third_party/substrait/substrait/algebra.pb.h @@ -51,7 +51,7 @@ struct TableStruct_substrait_2falgebra_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[117] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[121] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -161,6 +161,9 @@ extern Expression_LiteralDefaultTypeInternal _Expression_Literal_default_instanc class Expression_Literal_Decimal; struct Expression_Literal_DecimalDefaultTypeInternal; extern Expression_Literal_DecimalDefaultTypeInternal _Expression_Literal_Decimal_default_instance_; +class Expression_Literal_IntervalCompound; +struct Expression_Literal_IntervalCompoundDefaultTypeInternal; +extern Expression_Literal_IntervalCompoundDefaultTypeInternal _Expression_Literal_IntervalCompound_default_instance_; class Expression_Literal_IntervalDayToSecond; struct Expression_Literal_IntervalDayToSecondDefaultTypeInternal; extern Expression_Literal_IntervalDayToSecondDefaultTypeInternal _Expression_Literal_IntervalDayToSecond_default_instance_; @@ -356,6 +359,9 @@ extern ReadRel_LocalFiles_FileOrFilesDefaultTypeInternal _ReadRel_LocalFiles_Fil class ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions; struct ReadRel_LocalFiles_FileOrFiles_ArrowReadOptionsDefaultTypeInternal; extern ReadRel_LocalFiles_FileOrFiles_ArrowReadOptionsDefaultTypeInternal _ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions_default_instance_; +class ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions; +struct ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal; +extern ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptionsDefaultTypeInternal _ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions_default_instance_; class ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions; struct ReadRel_LocalFiles_FileOrFiles_DwrfReadOptionsDefaultTypeInternal; extern ReadRel_LocalFiles_FileOrFiles_DwrfReadOptionsDefaultTypeInternal _ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions_default_instance_; @@ -389,9 +395,15 @@ extern RelCommon_EmitDefaultTypeInternal _RelCommon_Emit_default_instance_; class RelCommon_Hint; struct RelCommon_HintDefaultTypeInternal; extern RelCommon_HintDefaultTypeInternal _RelCommon_Hint_default_instance_; +class RelCommon_Hint_LoadedComputation; +struct RelCommon_Hint_LoadedComputationDefaultTypeInternal; +extern RelCommon_Hint_LoadedComputationDefaultTypeInternal _RelCommon_Hint_LoadedComputation_default_instance_; class RelCommon_Hint_RuntimeConstraint; struct RelCommon_Hint_RuntimeConstraintDefaultTypeInternal; extern RelCommon_Hint_RuntimeConstraintDefaultTypeInternal _RelCommon_Hint_RuntimeConstraint_default_instance_; +class RelCommon_Hint_SavedComputation; +struct RelCommon_Hint_SavedComputationDefaultTypeInternal; +extern RelCommon_Hint_SavedComputationDefaultTypeInternal _RelCommon_Hint_SavedComputation_default_instance_; class RelCommon_Hint_Stats; struct RelCommon_Hint_StatsDefaultTypeInternal; extern RelCommon_Hint_StatsDefaultTypeInternal _RelCommon_Hint_Stats_default_instance_; @@ -446,6 +458,7 @@ template<> ::substrait::Expression_IfThen* Arena::CreateMaybeMessage<::substrait template<> ::substrait::Expression_IfThen_IfClause* Arena::CreateMaybeMessage<::substrait::Expression_IfThen_IfClause>(Arena*); template<> ::substrait::Expression_Literal* Arena::CreateMaybeMessage<::substrait::Expression_Literal>(Arena*); template<> ::substrait::Expression_Literal_Decimal* Arena::CreateMaybeMessage<::substrait::Expression_Literal_Decimal>(Arena*); +template<> ::substrait::Expression_Literal_IntervalCompound* Arena::CreateMaybeMessage<::substrait::Expression_Literal_IntervalCompound>(Arena*); template<> ::substrait::Expression_Literal_IntervalDayToSecond* Arena::CreateMaybeMessage<::substrait::Expression_Literal_IntervalDayToSecond>(Arena*); template<> ::substrait::Expression_Literal_IntervalYearToMonth* Arena::CreateMaybeMessage<::substrait::Expression_Literal_IntervalYearToMonth>(Arena*); template<> ::substrait::Expression_Literal_List* Arena::CreateMaybeMessage<::substrait::Expression_Literal_List>(Arena*); @@ -511,6 +524,7 @@ template<> ::substrait::ReadRel_ExtensionTable* Arena::CreateMaybeMessage<::subs template<> ::substrait::ReadRel_LocalFiles* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles>(Arena*); template<> ::substrait::ReadRel_LocalFiles_FileOrFiles* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles>(Arena*); template<> ::substrait::ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions>(Arena*); +template<> ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions>(Arena*); template<> ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions>(Arena*); template<> ::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions>(Arena*); template<> ::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions* Arena::CreateMaybeMessage<::substrait::ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions>(Arena*); @@ -522,7 +536,9 @@ template<> ::substrait::RelCommon* Arena::CreateMaybeMessage<::substrait::RelCom template<> ::substrait::RelCommon_Direct* Arena::CreateMaybeMessage<::substrait::RelCommon_Direct>(Arena*); template<> ::substrait::RelCommon_Emit* Arena::CreateMaybeMessage<::substrait::RelCommon_Emit>(Arena*); template<> ::substrait::RelCommon_Hint* Arena::CreateMaybeMessage<::substrait::RelCommon_Hint>(Arena*); +template<> ::substrait::RelCommon_Hint_LoadedComputation* Arena::CreateMaybeMessage<::substrait::RelCommon_Hint_LoadedComputation>(Arena*); template<> ::substrait::RelCommon_Hint_RuntimeConstraint* Arena::CreateMaybeMessage<::substrait::RelCommon_Hint_RuntimeConstraint>(Arena*); +template<> ::substrait::RelCommon_Hint_SavedComputation* Arena::CreateMaybeMessage<::substrait::RelCommon_Hint_SavedComputation>(Arena*); template<> ::substrait::RelCommon_Hint_Stats* Arena::CreateMaybeMessage<::substrait::RelCommon_Hint_Stats>(Arena*); template<> ::substrait::RelRoot* Arena::CreateMaybeMessage<::substrait::RelRoot>(Arena*); template<> ::substrait::SetRel* Arena::CreateMaybeMessage<::substrait::SetRel>(Arena*); @@ -532,21 +548,53 @@ template<> ::substrait::WriteRel* Arena::CreateMaybeMessage<::substrait::WriteRe PROTOBUF_NAMESPACE_CLOSE namespace substrait { +enum RelCommon_Hint_ComputationType : int { + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNSPECIFIED = 0, + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_HASHTABLE = 1, + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_BLOOM_FILTER = 2, + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNKNOWN = 9999, + RelCommon_Hint_ComputationType_RelCommon_Hint_ComputationType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + RelCommon_Hint_ComputationType_RelCommon_Hint_ComputationType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +}; +bool RelCommon_Hint_ComputationType_IsValid(int value); +constexpr RelCommon_Hint_ComputationType RelCommon_Hint_ComputationType_ComputationType_MIN = RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNSPECIFIED; +constexpr RelCommon_Hint_ComputationType RelCommon_Hint_ComputationType_ComputationType_MAX = RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNKNOWN; +constexpr int RelCommon_Hint_ComputationType_ComputationType_ARRAYSIZE = RelCommon_Hint_ComputationType_ComputationType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RelCommon_Hint_ComputationType_descriptor(); +template +inline const std::string& RelCommon_Hint_ComputationType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function RelCommon_Hint_ComputationType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + RelCommon_Hint_ComputationType_descriptor(), enum_t_value); +} +inline bool RelCommon_Hint_ComputationType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RelCommon_Hint_ComputationType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + RelCommon_Hint_ComputationType_descriptor(), name, value); +} enum JoinRel_JoinType : int { JoinRel_JoinType_JOIN_TYPE_UNSPECIFIED = 0, JoinRel_JoinType_JOIN_TYPE_INNER = 1, JoinRel_JoinType_JOIN_TYPE_OUTER = 2, JoinRel_JoinType_JOIN_TYPE_LEFT = 3, JoinRel_JoinType_JOIN_TYPE_RIGHT = 4, - JoinRel_JoinType_JOIN_TYPE_SEMI = 5, - JoinRel_JoinType_JOIN_TYPE_ANTI = 6, - JoinRel_JoinType_JOIN_TYPE_SINGLE = 7, + JoinRel_JoinType_JOIN_TYPE_LEFT_SEMI = 5, + JoinRel_JoinType_JOIN_TYPE_LEFT_ANTI = 6, + JoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE = 7, + JoinRel_JoinType_JOIN_TYPE_RIGHT_SEMI = 8, + JoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI = 9, + JoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE = 10, + JoinRel_JoinType_JOIN_TYPE_LEFT_MARK = 11, + JoinRel_JoinType_JOIN_TYPE_RIGHT_MARK = 12, JoinRel_JoinType_JoinRel_JoinType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), JoinRel_JoinType_JoinRel_JoinType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool JoinRel_JoinType_IsValid(int value); constexpr JoinRel_JoinType JoinRel_JoinType_JoinType_MIN = JoinRel_JoinType_JOIN_TYPE_UNSPECIFIED; -constexpr JoinRel_JoinType JoinRel_JoinType_JoinType_MAX = JoinRel_JoinType_JOIN_TYPE_SINGLE; +constexpr JoinRel_JoinType JoinRel_JoinType_JoinType_MAX = JoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; constexpr int JoinRel_JoinType_JoinType_ARRAYSIZE = JoinRel_JoinType_JoinType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* JoinRel_JoinType_descriptor(); @@ -566,9 +614,11 @@ inline bool JoinRel_JoinType_Parse( enum SetRel_SetOp : int { SetRel_SetOp_SET_OP_UNSPECIFIED = 0, SetRel_SetOp_SET_OP_MINUS_PRIMARY = 1, + SetRel_SetOp_SET_OP_MINUS_PRIMARY_ALL = 7, SetRel_SetOp_SET_OP_MINUS_MULTISET = 2, SetRel_SetOp_SET_OP_INTERSECTION_PRIMARY = 3, SetRel_SetOp_SET_OP_INTERSECTION_MULTISET = 4, + SetRel_SetOp_SET_OP_INTERSECTION_MULTISET_ALL = 8, SetRel_SetOp_SET_OP_UNION_DISTINCT = 5, SetRel_SetOp_SET_OP_UNION_ALL = 6, SetRel_SetOp_SetRel_SetOp_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), @@ -576,7 +626,7 @@ enum SetRel_SetOp : int { }; bool SetRel_SetOp_IsValid(int value); constexpr SetRel_SetOp SetRel_SetOp_SetOp_MIN = SetRel_SetOp_SET_OP_UNSPECIFIED; -constexpr SetRel_SetOp SetRel_SetOp_SetOp_MAX = SetRel_SetOp_SET_OP_UNION_ALL; +constexpr SetRel_SetOp SetRel_SetOp_SetOp_MAX = SetRel_SetOp_SET_OP_INTERSECTION_MULTISET_ALL; constexpr int SetRel_SetOp_SetOp_ARRAYSIZE = SetRel_SetOp_SetOp_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SetRel_SetOp_descriptor(); @@ -739,12 +789,16 @@ enum HashJoinRel_JoinType : int { HashJoinRel_JoinType_JOIN_TYPE_RIGHT_SEMI = 6, HashJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI = 7, HashJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI = 8, + HashJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE = 9, + HashJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE = 10, + HashJoinRel_JoinType_JOIN_TYPE_LEFT_MARK = 11, + HashJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK = 12, HashJoinRel_JoinType_HashJoinRel_JoinType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), HashJoinRel_JoinType_HashJoinRel_JoinType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool HashJoinRel_JoinType_IsValid(int value); constexpr HashJoinRel_JoinType HashJoinRel_JoinType_JoinType_MIN = HashJoinRel_JoinType_JOIN_TYPE_UNSPECIFIED; -constexpr HashJoinRel_JoinType HashJoinRel_JoinType_JoinType_MAX = HashJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; +constexpr HashJoinRel_JoinType HashJoinRel_JoinType_JoinType_MAX = HashJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; constexpr int HashJoinRel_JoinType_JoinType_ARRAYSIZE = HashJoinRel_JoinType_JoinType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HashJoinRel_JoinType_descriptor(); @@ -771,12 +825,16 @@ enum MergeJoinRel_JoinType : int { MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_SEMI = 6, MergeJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI = 7, MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI = 8, + MergeJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE = 9, + MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE = 10, + MergeJoinRel_JoinType_JOIN_TYPE_LEFT_MARK = 11, + MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK = 12, MergeJoinRel_JoinType_MergeJoinRel_JoinType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), MergeJoinRel_JoinType_MergeJoinRel_JoinType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool MergeJoinRel_JoinType_IsValid(int value); constexpr MergeJoinRel_JoinType MergeJoinRel_JoinType_JoinType_MIN = MergeJoinRel_JoinType_JOIN_TYPE_UNSPECIFIED; -constexpr MergeJoinRel_JoinType MergeJoinRel_JoinType_JoinType_MAX = MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; +constexpr MergeJoinRel_JoinType MergeJoinRel_JoinType_JoinType_MAX = MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; constexpr int MergeJoinRel_JoinType_JoinType_ARRAYSIZE = MergeJoinRel_JoinType_JoinType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MergeJoinRel_JoinType_descriptor(); @@ -803,12 +861,16 @@ enum NestedLoopJoinRel_JoinType : int { NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_SEMI = 6, NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI = 7, NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI = 8, + NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE = 9, + NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE = 10, + NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_MARK = 11, + NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK = 12, NestedLoopJoinRel_JoinType_NestedLoopJoinRel_JoinType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), NestedLoopJoinRel_JoinType_NestedLoopJoinRel_JoinType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool NestedLoopJoinRel_JoinType_IsValid(int value); constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel_JoinType_JoinType_MIN = NestedLoopJoinRel_JoinType_JOIN_TYPE_UNSPECIFIED; -constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel_JoinType_JoinType_MAX = NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; +constexpr NestedLoopJoinRel_JoinType NestedLoopJoinRel_JoinType_JoinType_MAX = NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; constexpr int NestedLoopJoinRel_JoinType_JoinType_ARRAYSIZE = NestedLoopJoinRel_JoinType_JoinType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NestedLoopJoinRel_JoinType_descriptor(); @@ -1654,6 +1716,320 @@ class RelCommon_Hint_RuntimeConstraint final : }; // ------------------------------------------------------------------- +class RelCommon_Hint_SavedComputation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.RelCommon.Hint.SavedComputation) */ { + public: + inline RelCommon_Hint_SavedComputation() : RelCommon_Hint_SavedComputation(nullptr) {} + ~RelCommon_Hint_SavedComputation() override; + explicit constexpr RelCommon_Hint_SavedComputation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RelCommon_Hint_SavedComputation(const RelCommon_Hint_SavedComputation& from); + RelCommon_Hint_SavedComputation(RelCommon_Hint_SavedComputation&& from) noexcept + : RelCommon_Hint_SavedComputation() { + *this = ::std::move(from); + } + + inline RelCommon_Hint_SavedComputation& operator=(const RelCommon_Hint_SavedComputation& from) { + CopyFrom(from); + return *this; + } + inline RelCommon_Hint_SavedComputation& operator=(RelCommon_Hint_SavedComputation&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RelCommon_Hint_SavedComputation& default_instance() { + return *internal_default_instance(); + } + static inline const RelCommon_Hint_SavedComputation* internal_default_instance() { + return reinterpret_cast( + &_RelCommon_Hint_SavedComputation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(RelCommon_Hint_SavedComputation& a, RelCommon_Hint_SavedComputation& b) { + a.Swap(&b); + } + inline void Swap(RelCommon_Hint_SavedComputation* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RelCommon_Hint_SavedComputation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RelCommon_Hint_SavedComputation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RelCommon_Hint_SavedComputation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const RelCommon_Hint_SavedComputation& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RelCommon_Hint_SavedComputation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.RelCommon.Hint.SavedComputation"; + } + protected: + explicit RelCommon_Hint_SavedComputation(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kComputationIdFieldNumber = 1, + kTypeFieldNumber = 2, + }; + // int32 computation_id = 1; + void clear_computation_id(); + int32_t computation_id() const; + void set_computation_id(int32_t value); + private: + int32_t _internal_computation_id() const; + void _internal_set_computation_id(int32_t value); + public: + + // .substrait.RelCommon.Hint.ComputationType type = 2; + void clear_type(); + ::substrait::RelCommon_Hint_ComputationType type() const; + void set_type(::substrait::RelCommon_Hint_ComputationType value); + private: + ::substrait::RelCommon_Hint_ComputationType _internal_type() const; + void _internal_set_type(::substrait::RelCommon_Hint_ComputationType value); + public: + + // @@protoc_insertion_point(class_scope:substrait.RelCommon.Hint.SavedComputation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + int32_t computation_id_; + int type_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2falgebra_2eproto; +}; +// ------------------------------------------------------------------- + +class RelCommon_Hint_LoadedComputation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.RelCommon.Hint.LoadedComputation) */ { + public: + inline RelCommon_Hint_LoadedComputation() : RelCommon_Hint_LoadedComputation(nullptr) {} + ~RelCommon_Hint_LoadedComputation() override; + explicit constexpr RelCommon_Hint_LoadedComputation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RelCommon_Hint_LoadedComputation(const RelCommon_Hint_LoadedComputation& from); + RelCommon_Hint_LoadedComputation(RelCommon_Hint_LoadedComputation&& from) noexcept + : RelCommon_Hint_LoadedComputation() { + *this = ::std::move(from); + } + + inline RelCommon_Hint_LoadedComputation& operator=(const RelCommon_Hint_LoadedComputation& from) { + CopyFrom(from); + return *this; + } + inline RelCommon_Hint_LoadedComputation& operator=(RelCommon_Hint_LoadedComputation&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RelCommon_Hint_LoadedComputation& default_instance() { + return *internal_default_instance(); + } + static inline const RelCommon_Hint_LoadedComputation* internal_default_instance() { + return reinterpret_cast( + &_RelCommon_Hint_LoadedComputation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(RelCommon_Hint_LoadedComputation& a, RelCommon_Hint_LoadedComputation& b) { + a.Swap(&b); + } + inline void Swap(RelCommon_Hint_LoadedComputation* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RelCommon_Hint_LoadedComputation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RelCommon_Hint_LoadedComputation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RelCommon_Hint_LoadedComputation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const RelCommon_Hint_LoadedComputation& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RelCommon_Hint_LoadedComputation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.RelCommon.Hint.LoadedComputation"; + } + protected: + explicit RelCommon_Hint_LoadedComputation(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kComputationIdReferenceFieldNumber = 1, + kTypeFieldNumber = 2, + }; + // int32 computation_id_reference = 1; + void clear_computation_id_reference(); + int32_t computation_id_reference() const; + void set_computation_id_reference(int32_t value); + private: + int32_t _internal_computation_id_reference() const; + void _internal_set_computation_id_reference(int32_t value); + public: + + // .substrait.RelCommon.Hint.ComputationType type = 2; + void clear_type(); + ::substrait::RelCommon_Hint_ComputationType type() const; + void set_type(::substrait::RelCommon_Hint_ComputationType value); + private: + ::substrait::RelCommon_Hint_ComputationType _internal_type() const; + void _internal_set_type(::substrait::RelCommon_Hint_ComputationType value); + public: + + // @@protoc_insertion_point(class_scope:substrait.RelCommon.Hint.LoadedComputation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + int32_t computation_id_reference_; + int type_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2falgebra_2eproto; +}; +// ------------------------------------------------------------------- + class RelCommon_Hint final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.RelCommon.Hint) */ { public: @@ -1702,7 +2078,7 @@ class RelCommon_Hint final : &_RelCommon_Hint_default_instance_); } static constexpr int kIndexInFileMessages = - 4; + 6; friend void swap(RelCommon_Hint& a, RelCommon_Hint& b) { a.Swap(&b); @@ -1775,15 +2151,114 @@ class RelCommon_Hint final : typedef RelCommon_Hint_Stats Stats; typedef RelCommon_Hint_RuntimeConstraint RuntimeConstraint; + typedef RelCommon_Hint_SavedComputation SavedComputation; + typedef RelCommon_Hint_LoadedComputation LoadedComputation; + + typedef RelCommon_Hint_ComputationType ComputationType; + static constexpr ComputationType COMPUTATION_TYPE_UNSPECIFIED = + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNSPECIFIED; + static constexpr ComputationType COMPUTATION_TYPE_HASHTABLE = + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_HASHTABLE; + static constexpr ComputationType COMPUTATION_TYPE_BLOOM_FILTER = + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_BLOOM_FILTER; + static constexpr ComputationType COMPUTATION_TYPE_UNKNOWN = + RelCommon_Hint_ComputationType_COMPUTATION_TYPE_UNKNOWN; + static inline bool ComputationType_IsValid(int value) { + return RelCommon_Hint_ComputationType_IsValid(value); + } + static constexpr ComputationType ComputationType_MIN = + RelCommon_Hint_ComputationType_ComputationType_MIN; + static constexpr ComputationType ComputationType_MAX = + RelCommon_Hint_ComputationType_ComputationType_MAX; + static constexpr int ComputationType_ARRAYSIZE = + RelCommon_Hint_ComputationType_ComputationType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + ComputationType_descriptor() { + return RelCommon_Hint_ComputationType_descriptor(); + } + template + static inline const std::string& ComputationType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ComputationType_Name."); + return RelCommon_Hint_ComputationType_Name(enum_t_value); + } + static inline bool ComputationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + ComputationType* value) { + return RelCommon_Hint_ComputationType_Parse(name, value); + } // accessors ------------------------------------------------------- enum : int { + kOutputNamesFieldNumber = 4, + kSavedComputationsFieldNumber = 11, + kLoadedComputationsFieldNumber = 12, kAliasFieldNumber = 3, kStatsFieldNumber = 1, kConstraintFieldNumber = 2, kAdvancedExtensionFieldNumber = 10, }; + // repeated string output_names = 4; + int output_names_size() const; + private: + int _internal_output_names_size() const; + public: + void clear_output_names(); + const std::string& output_names(int index) const; + std::string* mutable_output_names(int index); + void set_output_names(int index, const std::string& value); + void set_output_names(int index, std::string&& value); + void set_output_names(int index, const char* value); + void set_output_names(int index, const char* value, size_t size); + std::string* add_output_names(); + void add_output_names(const std::string& value); + void add_output_names(std::string&& value); + void add_output_names(const char* value); + void add_output_names(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& output_names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_output_names(); + private: + const std::string& _internal_output_names(int index) const; + std::string* _internal_add_output_names(); + public: + + // repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11; + int saved_computations_size() const; + private: + int _internal_saved_computations_size() const; + public: + void clear_saved_computations(); + ::substrait::RelCommon_Hint_SavedComputation* mutable_saved_computations(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_SavedComputation >* + mutable_saved_computations(); + private: + const ::substrait::RelCommon_Hint_SavedComputation& _internal_saved_computations(int index) const; + ::substrait::RelCommon_Hint_SavedComputation* _internal_add_saved_computations(); + public: + const ::substrait::RelCommon_Hint_SavedComputation& saved_computations(int index) const; + ::substrait::RelCommon_Hint_SavedComputation* add_saved_computations(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_SavedComputation >& + saved_computations() const; + + // repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12; + int loaded_computations_size() const; + private: + int _internal_loaded_computations_size() const; + public: + void clear_loaded_computations(); + ::substrait::RelCommon_Hint_LoadedComputation* mutable_loaded_computations(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_LoadedComputation >* + mutable_loaded_computations(); + private: + const ::substrait::RelCommon_Hint_LoadedComputation& _internal_loaded_computations(int index) const; + ::substrait::RelCommon_Hint_LoadedComputation* _internal_add_loaded_computations(); + public: + const ::substrait::RelCommon_Hint_LoadedComputation& loaded_computations(int index) const; + ::substrait::RelCommon_Hint_LoadedComputation* add_loaded_computations(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_LoadedComputation >& + loaded_computations() const; + // string alias = 3; void clear_alias(); const std::string& alias() const; @@ -1859,6 +2334,9 @@ class RelCommon_Hint final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField output_names_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_SavedComputation > saved_computations_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_LoadedComputation > loaded_computations_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; ::substrait::RelCommon_Hint_Stats* stats_; ::substrait::RelCommon_Hint_RuntimeConstraint* constraint_; @@ -1922,7 +2400,7 @@ class RelCommon final : &_RelCommon_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 7; friend void swap(RelCommon& a, RelCommon& b) { a.Swap(&b); @@ -2154,7 +2632,7 @@ class ReadRel_NamedTable final : &_ReadRel_NamedTable_default_instance_); } static constexpr int kIndexInFileMessages = - 6; + 8; friend void swap(ReadRel_NamedTable& a, ReadRel_NamedTable& b) { a.Swap(&b); @@ -2335,7 +2813,7 @@ class ReadRel_VirtualTable final : &_ReadRel_VirtualTable_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 9; friend void swap(ReadRel_VirtualTable& a, ReadRel_VirtualTable& b) { a.Swap(&b); @@ -2410,25 +2888,44 @@ class ReadRel_VirtualTable final : enum : int { kValuesFieldNumber = 1, + kExpressionsFieldNumber = 2, }; - // repeated .substrait.Expression.Literal.Struct values = 1; - int values_size() const; + // repeated .substrait.Expression.Literal.Struct values = 1 [deprecated = true]; + PROTOBUF_DEPRECATED int values_size() const; private: int _internal_values_size() const; public: - void clear_values(); - ::substrait::Expression_Literal_Struct* mutable_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Literal_Struct >* + PROTOBUF_DEPRECATED void clear_values(); + PROTOBUF_DEPRECATED ::substrait::Expression_Literal_Struct* mutable_values(int index); + PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Literal_Struct >* mutable_values(); private: const ::substrait::Expression_Literal_Struct& _internal_values(int index) const; ::substrait::Expression_Literal_Struct* _internal_add_values(); public: - const ::substrait::Expression_Literal_Struct& values(int index) const; - ::substrait::Expression_Literal_Struct* add_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Literal_Struct >& + PROTOBUF_DEPRECATED const ::substrait::Expression_Literal_Struct& values(int index) const; + PROTOBUF_DEPRECATED ::substrait::Expression_Literal_Struct* add_values(); + PROTOBUF_DEPRECATED const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Literal_Struct >& values() const; + // repeated .substrait.Expression.Nested.Struct expressions = 2; + int expressions_size() const; + private: + int _internal_expressions_size() const; + public: + void clear_expressions(); + ::substrait::Expression_Nested_Struct* mutable_expressions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Nested_Struct >* + mutable_expressions(); + private: + const ::substrait::Expression_Nested_Struct& _internal_expressions(int index) const; + ::substrait::Expression_Nested_Struct* _internal_add_expressions(); + public: + const ::substrait::Expression_Nested_Struct& expressions(int index) const; + ::substrait::Expression_Nested_Struct* add_expressions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Nested_Struct >& + expressions() const; + // @@protoc_insertion_point(class_scope:substrait.ReadRel.VirtualTable) private: class _Internal; @@ -2437,6 +2934,7 @@ class ReadRel_VirtualTable final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Literal_Struct > values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Nested_Struct > expressions_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2falgebra_2eproto; }; @@ -2490,7 +2988,7 @@ class ReadRel_ExtensionTable final : &_ReadRel_ExtensionTable_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 10; friend void swap(ReadRel_ExtensionTable& a, ReadRel_ExtensionTable& b) { a.Swap(&b); @@ -2644,7 +3142,7 @@ class ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions final : &_ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 11; friend void swap(ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions& a, ReadRel_LocalFiles_FileOrFiles_ParquetReadOptions& b) { a.Swap(&b); @@ -2762,7 +3260,7 @@ class ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions final : &_ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 12; friend void swap(ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions& a, ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions& b) { a.Swap(&b); @@ -2880,7 +3378,7 @@ class ReadRel_LocalFiles_FileOrFiles_OrcReadOptions final : &_ReadRel_LocalFiles_FileOrFiles_OrcReadOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 13; friend void swap(ReadRel_LocalFiles_FileOrFiles_OrcReadOptions& a, ReadRel_LocalFiles_FileOrFiles_OrcReadOptions& b) { a.Swap(&b); @@ -2998,7 +3496,7 @@ class ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions final : &_ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 14; friend void swap(ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions& a, ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions& b) { a.Swap(&b); @@ -3069,6 +3567,232 @@ class ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions final : }; // ------------------------------------------------------------------- +class ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) */ { + public: + inline ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions() : ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(nullptr) {} + ~ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions() override; + explicit constexpr ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from); + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions&& from) noexcept + : ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions() { + *this = ::std::move(from); + } + + inline ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& operator=(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from) { + CopyFrom(from); + return *this; + } + inline ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& operator=(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& default_instance() { + return *internal_default_instance(); + } + static inline const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* internal_default_instance() { + return reinterpret_cast( + &_ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& a, ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& b) { + a.Swap(&b); + } + inline void Swap(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions"; + } + protected: + explicit ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kFieldDelimiterFieldNumber = 1, + kQuoteFieldNumber = 3, + kEscapeFieldNumber = 5, + kValueTreatedAsNullFieldNumber = 6, + kMaxLineSizeFieldNumber = 2, + kHeaderLinesToSkipFieldNumber = 4, + }; + // string field_delimiter = 1; + void clear_field_delimiter(); + const std::string& field_delimiter() const; + template + void set_field_delimiter(ArgT0&& arg0, ArgT... args); + std::string* mutable_field_delimiter(); + PROTOBUF_NODISCARD std::string* release_field_delimiter(); + void set_allocated_field_delimiter(std::string* field_delimiter); + private: + const std::string& _internal_field_delimiter() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_delimiter(const std::string& value); + std::string* _internal_mutable_field_delimiter(); + public: + + // string quote = 3; + void clear_quote(); + const std::string& quote() const; + template + void set_quote(ArgT0&& arg0, ArgT... args); + std::string* mutable_quote(); + PROTOBUF_NODISCARD std::string* release_quote(); + void set_allocated_quote(std::string* quote); + private: + const std::string& _internal_quote() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_quote(const std::string& value); + std::string* _internal_mutable_quote(); + public: + + // string escape = 5; + void clear_escape(); + const std::string& escape() const; + template + void set_escape(ArgT0&& arg0, ArgT... args); + std::string* mutable_escape(); + PROTOBUF_NODISCARD std::string* release_escape(); + void set_allocated_escape(std::string* escape); + private: + const std::string& _internal_escape() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_escape(const std::string& value); + std::string* _internal_mutable_escape(); + public: + + // optional string value_treated_as_null = 6; + bool has_value_treated_as_null() const; + private: + bool _internal_has_value_treated_as_null() const; + public: + void clear_value_treated_as_null(); + const std::string& value_treated_as_null() const; + template + void set_value_treated_as_null(ArgT0&& arg0, ArgT... args); + std::string* mutable_value_treated_as_null(); + PROTOBUF_NODISCARD std::string* release_value_treated_as_null(); + void set_allocated_value_treated_as_null(std::string* value_treated_as_null); + private: + const std::string& _internal_value_treated_as_null() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_treated_as_null(const std::string& value); + std::string* _internal_mutable_value_treated_as_null(); + public: + + // uint64 max_line_size = 2; + void clear_max_line_size(); + uint64_t max_line_size() const; + void set_max_line_size(uint64_t value); + private: + uint64_t _internal_max_line_size() const; + void _internal_set_max_line_size(uint64_t value); + public: + + // uint64 header_lines_to_skip = 4; + void clear_header_lines_to_skip(); + uint64_t header_lines_to_skip() const; + void set_header_lines_to_skip(uint64_t value); + private: + uint64_t _internal_header_lines_to_skip() const; + void _internal_set_header_lines_to_skip(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_delimiter_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr quote_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr escape_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_treated_as_null_; + uint64_t max_line_size_; + uint64_t header_lines_to_skip_; + friend struct ::TableStruct_substrait_2falgebra_2eproto; +}; +// ------------------------------------------------------------------- + class ReadRel_LocalFiles_FileOrFiles final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.ReadRel.LocalFiles.FileOrFiles) */ { public: @@ -3126,6 +3850,7 @@ class ReadRel_LocalFiles_FileOrFiles final : kOrc = 11, kExtension = 12, kDwrf = 13, + kText = 14, FILE_FORMAT_NOT_SET = 0, }; @@ -3134,7 +3859,7 @@ class ReadRel_LocalFiles_FileOrFiles final : &_ReadRel_LocalFiles_FileOrFiles_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 16; friend void swap(ReadRel_LocalFiles_FileOrFiles& a, ReadRel_LocalFiles_FileOrFiles& b) { a.Swap(&b); @@ -3209,6 +3934,7 @@ class ReadRel_LocalFiles_FileOrFiles final : typedef ReadRel_LocalFiles_FileOrFiles_ArrowReadOptions ArrowReadOptions; typedef ReadRel_LocalFiles_FileOrFiles_OrcReadOptions OrcReadOptions; typedef ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions DwrfReadOptions; + typedef ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions DelimiterSeparatedTextReadOptions; // accessors ------------------------------------------------------- @@ -3225,6 +3951,7 @@ class ReadRel_LocalFiles_FileOrFiles final : kOrcFieldNumber = 11, kExtensionFieldNumber = 12, kDwrfFieldNumber = 13, + kTextFieldNumber = 14, }; // uint64 partition_index = 6; void clear_partition_index(); @@ -3415,6 +4142,24 @@ class ReadRel_LocalFiles_FileOrFiles final : ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* dwrf); ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* unsafe_arena_release_dwrf(); + // .substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions text = 14; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + void clear_text(); + const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& text() const; + PROTOBUF_NODISCARD ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* release_text(); + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* mutable_text(); + void set_allocated_text(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* text); + private: + const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& _internal_text() const; + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* _internal_mutable_text(); + public: + void unsafe_arena_set_allocated_text( + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* text); + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* unsafe_arena_release_text(); + void clear_path_type(); PathTypeCase path_type_case() const; void clear_file_format(); @@ -3431,6 +4176,7 @@ class ReadRel_LocalFiles_FileOrFiles final : void set_has_orc(); void set_has_extension(); void set_has_dwrf(); + void set_has_text(); inline bool has_path_type() const; inline void clear_has_path_type(); @@ -3460,6 +4206,7 @@ class ReadRel_LocalFiles_FileOrFiles final : ::substrait::ReadRel_LocalFiles_FileOrFiles_OrcReadOptions* orc_; ::PROTOBUF_NAMESPACE_ID::Any* extension_; ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* dwrf_; + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* text_; } file_format_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[2]; @@ -3516,7 +4263,7 @@ class ReadRel_LocalFiles final : &_ReadRel_LocalFiles_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 17; friend void swap(ReadRel_LocalFiles& a, ReadRel_LocalFiles& b) { a.Swap(&b); @@ -3701,7 +4448,7 @@ class ReadRel final : &_ReadRel_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 18; friend void swap(ReadRel& a, ReadRel& b) { a.Swap(&b); @@ -4056,7 +4803,7 @@ class ProjectRel final : &_ProjectRel_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 19; friend void swap(ProjectRel& a, ProjectRel& b) { a.Swap(&b); @@ -4271,7 +5018,7 @@ class JoinRel final : &_JoinRel_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 20; friend void swap(JoinRel& a, JoinRel& b) { a.Swap(&b); @@ -4353,12 +5100,22 @@ class JoinRel final : JoinRel_JoinType_JOIN_TYPE_LEFT; static constexpr JoinType JOIN_TYPE_RIGHT = JoinRel_JoinType_JOIN_TYPE_RIGHT; - static constexpr JoinType JOIN_TYPE_SEMI = - JoinRel_JoinType_JOIN_TYPE_SEMI; - static constexpr JoinType JOIN_TYPE_ANTI = - JoinRel_JoinType_JOIN_TYPE_ANTI; - static constexpr JoinType JOIN_TYPE_SINGLE = - JoinRel_JoinType_JOIN_TYPE_SINGLE; + static constexpr JoinType JOIN_TYPE_LEFT_SEMI = + JoinRel_JoinType_JOIN_TYPE_LEFT_SEMI; + static constexpr JoinType JOIN_TYPE_LEFT_ANTI = + JoinRel_JoinType_JOIN_TYPE_LEFT_ANTI; + static constexpr JoinType JOIN_TYPE_LEFT_SINGLE = + JoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE; + static constexpr JoinType JOIN_TYPE_RIGHT_SEMI = + JoinRel_JoinType_JOIN_TYPE_RIGHT_SEMI; + static constexpr JoinType JOIN_TYPE_RIGHT_ANTI = + JoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; + static constexpr JoinType JOIN_TYPE_RIGHT_SINGLE = + JoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE; + static constexpr JoinType JOIN_TYPE_LEFT_MARK = + JoinRel_JoinType_JOIN_TYPE_LEFT_MARK; + static constexpr JoinType JOIN_TYPE_RIGHT_MARK = + JoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; static inline bool JoinType_IsValid(int value) { return JoinRel_JoinType_IsValid(value); } @@ -4579,7 +5336,7 @@ class CrossRel final : &_CrossRel_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 21; friend void swap(CrossRel& a, CrossRel& b) { a.Swap(&b); @@ -4794,7 +5551,7 @@ class FetchRel final : &_FetchRel_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 22; friend void swap(FetchRel& a, FetchRel& b) { a.Swap(&b); @@ -5011,7 +5768,7 @@ class AggregateRel_Grouping final : &_AggregateRel_Grouping_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 23; friend void swap(AggregateRel_Grouping& a, AggregateRel_Grouping& b) { a.Swap(&b); @@ -5086,25 +5843,48 @@ class AggregateRel_Grouping final : enum : int { kGroupingExpressionsFieldNumber = 1, + kExpressionReferencesFieldNumber = 2, }; - // repeated .substrait.Expression grouping_expressions = 1; - int grouping_expressions_size() const; + // repeated .substrait.Expression grouping_expressions = 1 [deprecated = true]; + PROTOBUF_DEPRECATED int grouping_expressions_size() const; private: int _internal_grouping_expressions_size() const; public: - void clear_grouping_expressions(); - ::substrait::Expression* mutable_grouping_expressions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >* + PROTOBUF_DEPRECATED void clear_grouping_expressions(); + PROTOBUF_DEPRECATED ::substrait::Expression* mutable_grouping_expressions(int index); + PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >* mutable_grouping_expressions(); private: const ::substrait::Expression& _internal_grouping_expressions(int index) const; ::substrait::Expression* _internal_add_grouping_expressions(); public: - const ::substrait::Expression& grouping_expressions(int index) const; - ::substrait::Expression* add_grouping_expressions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >& + PROTOBUF_DEPRECATED const ::substrait::Expression& grouping_expressions(int index) const; + PROTOBUF_DEPRECATED ::substrait::Expression* add_grouping_expressions(); + PROTOBUF_DEPRECATED const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >& grouping_expressions() const; + // repeated uint32 expression_references = 2; + int expression_references_size() const; + private: + int _internal_expression_references_size() const; + public: + void clear_expression_references(); + private: + uint32_t _internal_expression_references(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_expression_references() const; + void _internal_add_expression_references(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_expression_references(); + public: + uint32_t expression_references(int index) const; + void set_expression_references(int index, uint32_t value); + void add_expression_references(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + expression_references() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_expression_references(); + // @@protoc_insertion_point(class_scope:substrait.AggregateRel.Grouping) private: class _Internal; @@ -5113,6 +5893,8 @@ class AggregateRel_Grouping final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression > grouping_expressions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > expression_references_; + mutable std::atomic _expression_references_cached_byte_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2falgebra_2eproto; }; @@ -5166,7 +5948,7 @@ class AggregateRel_Measure final : &_AggregateRel_Measure_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 24; friend void swap(AggregateRel_Measure& a, AggregateRel_Measure& b) { a.Swap(&b); @@ -5341,7 +6123,7 @@ class AggregateRel final : &_AggregateRel_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 25; friend void swap(AggregateRel& a, AggregateRel& b) { a.Swap(&b); @@ -5420,6 +6202,7 @@ class AggregateRel final : enum : int { kGroupingsFieldNumber = 3, kMeasuresFieldNumber = 4, + kGroupingExpressionsFieldNumber = 5, kCommonFieldNumber = 1, kInputFieldNumber = 2, kAdvancedExtensionFieldNumber = 10, @@ -5460,6 +6243,24 @@ class AggregateRel final : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::AggregateRel_Measure >& measures() const; + // repeated .substrait.Expression grouping_expressions = 5; + int grouping_expressions_size() const; + private: + int _internal_grouping_expressions_size() const; + public: + void clear_grouping_expressions(); + ::substrait::Expression* mutable_grouping_expressions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >* + mutable_grouping_expressions(); + private: + const ::substrait::Expression& _internal_grouping_expressions(int index) const; + ::substrait::Expression* _internal_add_grouping_expressions(); + public: + const ::substrait::Expression& grouping_expressions(int index) const; + ::substrait::Expression* add_grouping_expressions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >& + grouping_expressions() const; + // .substrait.RelCommon common = 1; bool has_common() const; private: @@ -5523,6 +6324,7 @@ class AggregateRel final : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::AggregateRel_Grouping > groupings_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::AggregateRel_Measure > measures_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression > grouping_expressions_; ::substrait::RelCommon* common_; ::substrait::Rel* input_; ::substrait::extensions::AdvancedExtension* advanced_extension_; @@ -5579,7 +6381,7 @@ class ConsistentPartitionWindowRel_WindowRelFunction final : &_ConsistentPartitionWindowRel_WindowRelFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 26; friend void swap(ConsistentPartitionWindowRel_WindowRelFunction& a, ConsistentPartitionWindowRel_WindowRelFunction& b) { a.Swap(&b); @@ -5858,7 +6660,7 @@ class ConsistentPartitionWindowRel final : &_ConsistentPartitionWindowRel_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 27; friend void swap(ConsistentPartitionWindowRel& a, ConsistentPartitionWindowRel& b) { a.Swap(&b); @@ -6115,7 +6917,7 @@ class SortRel final : &_SortRel_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 28; friend void swap(SortRel& a, SortRel& b) { a.Swap(&b); @@ -6330,7 +7132,7 @@ class FilterRel final : &_FilterRel_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 29; friend void swap(FilterRel& a, FilterRel& b) { a.Swap(&b); @@ -6545,7 +7347,7 @@ class SetRel final : &_SetRel_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 30; friend void swap(SetRel& a, SetRel& b) { a.Swap(&b); @@ -6621,12 +7423,16 @@ class SetRel final : SetRel_SetOp_SET_OP_UNSPECIFIED; static constexpr SetOp SET_OP_MINUS_PRIMARY = SetRel_SetOp_SET_OP_MINUS_PRIMARY; + static constexpr SetOp SET_OP_MINUS_PRIMARY_ALL = + SetRel_SetOp_SET_OP_MINUS_PRIMARY_ALL; static constexpr SetOp SET_OP_MINUS_MULTISET = SetRel_SetOp_SET_OP_MINUS_MULTISET; static constexpr SetOp SET_OP_INTERSECTION_PRIMARY = SetRel_SetOp_SET_OP_INTERSECTION_PRIMARY; static constexpr SetOp SET_OP_INTERSECTION_MULTISET = SetRel_SetOp_SET_OP_INTERSECTION_MULTISET; + static constexpr SetOp SET_OP_INTERSECTION_MULTISET_ALL = + SetRel_SetOp_SET_OP_INTERSECTION_MULTISET_ALL; static constexpr SetOp SET_OP_UNION_DISTINCT = SetRel_SetOp_SET_OP_UNION_DISTINCT; static constexpr SetOp SET_OP_UNION_ALL = @@ -6791,7 +7597,7 @@ class ExtensionSingleRel final : &_ExtensionSingleRel_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 31; friend void swap(ExtensionSingleRel& a, ExtensionSingleRel& b) { a.Swap(&b); @@ -6986,7 +7792,7 @@ class ExtensionLeafRel final : &_ExtensionLeafRel_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 32; friend void swap(ExtensionLeafRel& a, ExtensionLeafRel& b) { a.Swap(&b); @@ -7161,7 +7967,7 @@ class ExtensionMultiRel final : &_ExtensionMultiRel_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 33; friend void swap(ExtensionMultiRel& a, ExtensionMultiRel& b) { a.Swap(&b); @@ -7356,7 +8162,7 @@ class ExchangeRel_ScatterFields final : &_ExchangeRel_ScatterFields_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 34; friend void swap(ExchangeRel_ScatterFields& a, ExchangeRel_ScatterFields& b) { a.Swap(&b); @@ -7511,7 +8317,7 @@ class ExchangeRel_SingleBucketExpression final : &_ExchangeRel_SingleBucketExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 35; friend void swap(ExchangeRel_SingleBucketExpression& a, ExchangeRel_SingleBucketExpression& b) { a.Swap(&b); @@ -7666,7 +8472,7 @@ class ExchangeRel_MultiBucketExpression final : &_ExchangeRel_MultiBucketExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 36; friend void swap(ExchangeRel_MultiBucketExpression& a, ExchangeRel_MultiBucketExpression& b) { a.Swap(&b); @@ -7831,7 +8637,7 @@ class ExchangeRel_Broadcast final : &_ExchangeRel_Broadcast_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 37; friend void swap(ExchangeRel_Broadcast& a, ExchangeRel_Broadcast& b) { a.Swap(&b); @@ -7950,7 +8756,7 @@ class ExchangeRel_RoundRobin final : &_ExchangeRel_RoundRobin_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 38; friend void swap(ExchangeRel_RoundRobin& a, ExchangeRel_RoundRobin& b) { a.Swap(&b); @@ -8102,7 +8908,7 @@ class ExchangeRel_ExchangeTarget final : &_ExchangeRel_ExchangeTarget_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 39; friend void swap(ExchangeRel_ExchangeTarget& a, ExchangeRel_ExchangeTarget& b) { a.Swap(&b); @@ -8324,7 +9130,7 @@ class ExchangeRel final : &_ExchangeRel_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 40; friend void swap(ExchangeRel& a, ExchangeRel& b) { a.Swap(&b); @@ -8679,7 +9485,7 @@ class ExpandRel_ExpandField final : &_ExpandRel_ExpandField_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 41; friend void swap(ExpandRel_ExpandField& a, ExpandRel_ExpandField& b) { a.Swap(&b); @@ -8867,7 +9673,7 @@ class ExpandRel_SwitchingField final : &_ExpandRel_SwitchingField_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 42; friend void swap(ExpandRel_SwitchingField& a, ExpandRel_SwitchingField& b) { a.Swap(&b); @@ -9022,7 +9828,7 @@ class ExpandRel final : &_ExpandRel_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 43; friend void swap(ExpandRel& a, ExpandRel& b) { a.Swap(&b); @@ -9220,7 +10026,7 @@ class RelRoot final : &_RelRoot_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 44; friend void swap(RelRoot& a, RelRoot& b) { a.Swap(&b); @@ -9426,7 +10232,7 @@ class Rel final : &_Rel_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 45; friend void swap(Rel& a, Rel& b) { a.Swap(&b); @@ -10013,7 +10819,7 @@ class NamedObjectWrite final : &_NamedObjectWrite_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 46; friend void swap(NamedObjectWrite& a, NamedObjectWrite& b) { a.Swap(&b); @@ -10194,7 +11000,7 @@ class ExtensionObject final : &_ExtensionObject_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 47; friend void swap(ExtensionObject& a, ExtensionObject& b) { a.Swap(&b); @@ -10355,7 +11161,7 @@ class DdlRel final : &_DdlRel_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 48; friend void swap(DdlRel& a, DdlRel& b) { a.Swap(&b); @@ -10721,7 +11527,7 @@ class WriteRel final : &_WriteRel_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 49; friend void swap(WriteRel& a, WriteRel& b) { a.Swap(&b); @@ -11065,7 +11871,7 @@ class ComparisonJoinKey_ComparisonType final : &_ComparisonJoinKey_ComparisonType_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 50; friend void swap(ComparisonJoinKey_ComparisonType& a, ComparisonJoinKey_ComparisonType& b) { a.Swap(&b); @@ -11243,7 +12049,7 @@ class ComparisonJoinKey final : &_ComparisonJoinKey_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 51; friend void swap(ComparisonJoinKey& a, ComparisonJoinKey& b) { a.Swap(&b); @@ -11474,7 +12280,7 @@ class HashJoinRel final : &_HashJoinRel_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 52; friend void swap(HashJoinRel& a, HashJoinRel& b) { a.Swap(&b); @@ -11564,6 +12370,14 @@ class HashJoinRel final : HashJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI; static constexpr JoinType JOIN_TYPE_RIGHT_ANTI = HashJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; + static constexpr JoinType JOIN_TYPE_LEFT_SINGLE = + HashJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE; + static constexpr JoinType JOIN_TYPE_RIGHT_SINGLE = + HashJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE; + static constexpr JoinType JOIN_TYPE_LEFT_MARK = + HashJoinRel_JoinType_JOIN_TYPE_LEFT_MARK; + static constexpr JoinType JOIN_TYPE_RIGHT_MARK = + HashJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; static inline bool JoinType_IsValid(int value) { return HashJoinRel_JoinType_IsValid(value); } @@ -11824,7 +12638,7 @@ class MergeJoinRel final : &_MergeJoinRel_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 53; friend void swap(MergeJoinRel& a, MergeJoinRel& b) { a.Swap(&b); @@ -11914,6 +12728,14 @@ class MergeJoinRel final : MergeJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI; static constexpr JoinType JOIN_TYPE_RIGHT_ANTI = MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; + static constexpr JoinType JOIN_TYPE_LEFT_SINGLE = + MergeJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE; + static constexpr JoinType JOIN_TYPE_RIGHT_SINGLE = + MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE; + static constexpr JoinType JOIN_TYPE_LEFT_MARK = + MergeJoinRel_JoinType_JOIN_TYPE_LEFT_MARK; + static constexpr JoinType JOIN_TYPE_RIGHT_MARK = + MergeJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; static inline bool JoinType_IsValid(int value) { return MergeJoinRel_JoinType_IsValid(value); } @@ -12174,7 +12996,7 @@ class NestedLoopJoinRel final : &_NestedLoopJoinRel_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 54; friend void swap(NestedLoopJoinRel& a, NestedLoopJoinRel& b) { a.Swap(&b); @@ -12264,6 +13086,14 @@ class NestedLoopJoinRel final : NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_ANTI; static constexpr JoinType JOIN_TYPE_RIGHT_ANTI = NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_ANTI; + static constexpr JoinType JOIN_TYPE_LEFT_SINGLE = + NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_SINGLE; + static constexpr JoinType JOIN_TYPE_RIGHT_SINGLE = + NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_SINGLE; + static constexpr JoinType JOIN_TYPE_LEFT_MARK = + NestedLoopJoinRel_JoinType_JOIN_TYPE_LEFT_MARK; + static constexpr JoinType JOIN_TYPE_RIGHT_MARK = + NestedLoopJoinRel_JoinType_JOIN_TYPE_RIGHT_MARK; static inline bool JoinType_IsValid(int value) { return NestedLoopJoinRel_JoinType_IsValid(value); } @@ -12471,7 +13301,7 @@ class FunctionArgument final : &_FunctionArgument_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 55; friend void swap(FunctionArgument& a, FunctionArgument& b) { a.Swap(&b); @@ -12680,7 +13510,7 @@ class FunctionOption final : &_FunctionOption_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 56; friend void swap(FunctionOption& a, FunctionOption& b) { a.Swap(&b); @@ -12856,7 +13686,7 @@ class Expression_Enum_Empty final : &_Expression_Enum_Empty_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 57; friend void swap(Expression_Enum_Empty& a, Expression_Enum_Empty& b) { a.Swap(&b); @@ -12981,7 +13811,7 @@ class Expression_Enum final : &_Expression_Enum_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 58; friend void swap(Expression_Enum& a, Expression_Enum& b) { a.Swap(&b); @@ -13171,7 +14001,7 @@ class Expression_Literal_VarChar final : &_Expression_Literal_VarChar_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 59; friend void swap(Expression_Literal_VarChar& a, Expression_Literal_VarChar& b) { a.Swap(&b); @@ -13333,7 +14163,7 @@ class Expression_Literal_Decimal final : &_Expression_Literal_Decimal_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 60; friend void swap(Expression_Literal_Decimal& a, Expression_Literal_Decimal& b) { a.Swap(&b); @@ -13506,7 +14336,7 @@ class Expression_Literal_PrecisionTimestamp final : &_Expression_Literal_PrecisionTimestamp_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 61; friend void swap(Expression_Literal_PrecisionTimestamp& a, Expression_Literal_PrecisionTimestamp& b) { a.Swap(&b); @@ -13663,7 +14493,7 @@ class Expression_Literal_Map_KeyValue final : &_Expression_Literal_Map_KeyValue_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 62; friend void swap(Expression_Literal_Map_KeyValue& a, Expression_Literal_Map_KeyValue& b) { a.Swap(&b); @@ -13838,7 +14668,7 @@ class Expression_Literal_Map final : &_Expression_Literal_Map_default_instance_); } static constexpr int kIndexInFileMessages = - 60; + 63; friend void swap(Expression_Literal_Map& a, Expression_Literal_Map& b) { a.Swap(&b); @@ -13995,7 +14825,7 @@ class Expression_Literal_IntervalYearToMonth final : &_Expression_Literal_IntervalYearToMonth_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 64; friend void swap(Expression_Literal_IntervalYearToMonth& a, Expression_Literal_IntervalYearToMonth& b) { a.Swap(&b); @@ -14147,12 +14977,18 @@ class Expression_Literal_IntervalDayToSecond final : static const Expression_Literal_IntervalDayToSecond& default_instance() { return *internal_default_instance(); } + enum PrecisionModeCase { + kMicroseconds = 3, + kPrecision = 4, + PRECISION_MODE_NOT_SET = 0, + }; + static inline const Expression_Literal_IntervalDayToSecond* internal_default_instance() { return reinterpret_cast( &_Expression_Literal_IntervalDayToSecond_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 65; friend void swap(Expression_Literal_IntervalDayToSecond& a, Expression_Literal_IntervalDayToSecond& b) { a.Swap(&b); @@ -14228,7 +15064,9 @@ class Expression_Literal_IntervalDayToSecond final : enum : int { kDaysFieldNumber = 1, kSecondsFieldNumber = 2, + kSubsecondsFieldNumber = 5, kMicrosecondsFieldNumber = 3, + kPrecisionFieldNumber = 4, }; // int32 days = 1; void clear_days(); @@ -14248,25 +15086,241 @@ class Expression_Literal_IntervalDayToSecond final : void _internal_set_seconds(int32_t value); public: - // int32 microseconds = 3; - void clear_microseconds(); - int32_t microseconds() const; - void set_microseconds(int32_t value); + // int64 subseconds = 5; + void clear_subseconds(); + int64_t subseconds() const; + void set_subseconds(int64_t value); + private: + int64_t _internal_subseconds() const; + void _internal_set_subseconds(int64_t value); + public: + + // int32 microseconds = 3 [deprecated = true]; + PROTOBUF_DEPRECATED bool has_microseconds() const; + private: + bool _internal_has_microseconds() const; + public: + PROTOBUF_DEPRECATED void clear_microseconds(); + PROTOBUF_DEPRECATED int32_t microseconds() const; + PROTOBUF_DEPRECATED void set_microseconds(int32_t value); private: int32_t _internal_microseconds() const; void _internal_set_microseconds(int32_t value); public: + // int32 precision = 4; + bool has_precision() const; + private: + bool _internal_has_precision() const; + public: + void clear_precision(); + int32_t precision() const; + void set_precision(int32_t value); + private: + int32_t _internal_precision() const; + void _internal_set_precision(int32_t value); + public: + + void clear_precision_mode(); + PrecisionModeCase precision_mode_case() const; // @@protoc_insertion_point(class_scope:substrait.Expression.Literal.IntervalDayToSecond) private: class _Internal; + void set_has_microseconds(); + void set_has_precision(); + + inline bool has_precision_mode() const; + inline void clear_has_precision_mode(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t days_; int32_t seconds_; - int32_t microseconds_; + int64_t subseconds_; + union PrecisionModeUnion { + constexpr PrecisionModeUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + int32_t microseconds_; + int32_t precision_; + } precision_mode_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + friend struct ::TableStruct_substrait_2falgebra_2eproto; +}; +// ------------------------------------------------------------------- + +class Expression_Literal_IntervalCompound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.Expression.Literal.IntervalCompound) */ { + public: + inline Expression_Literal_IntervalCompound() : Expression_Literal_IntervalCompound(nullptr) {} + ~Expression_Literal_IntervalCompound() override; + explicit constexpr Expression_Literal_IntervalCompound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Expression_Literal_IntervalCompound(const Expression_Literal_IntervalCompound& from); + Expression_Literal_IntervalCompound(Expression_Literal_IntervalCompound&& from) noexcept + : Expression_Literal_IntervalCompound() { + *this = ::std::move(from); + } + + inline Expression_Literal_IntervalCompound& operator=(const Expression_Literal_IntervalCompound& from) { + CopyFrom(from); + return *this; + } + inline Expression_Literal_IntervalCompound& operator=(Expression_Literal_IntervalCompound&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Expression_Literal_IntervalCompound& default_instance() { + return *internal_default_instance(); + } + static inline const Expression_Literal_IntervalCompound* internal_default_instance() { + return reinterpret_cast( + &_Expression_Literal_IntervalCompound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(Expression_Literal_IntervalCompound& a, Expression_Literal_IntervalCompound& b) { + a.Swap(&b); + } + inline void Swap(Expression_Literal_IntervalCompound* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Expression_Literal_IntervalCompound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Expression_Literal_IntervalCompound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Expression_Literal_IntervalCompound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const Expression_Literal_IntervalCompound& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Expression_Literal_IntervalCompound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.Expression.Literal.IntervalCompound"; + } + protected: + explicit Expression_Literal_IntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIntervalYearToMonthFieldNumber = 1, + kIntervalDayToSecondFieldNumber = 2, + }; + // .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 1; + bool has_interval_year_to_month() const; + private: + bool _internal_has_interval_year_to_month() const; + public: + void clear_interval_year_to_month(); + const ::substrait::Expression_Literal_IntervalYearToMonth& interval_year_to_month() const; + PROTOBUF_NODISCARD ::substrait::Expression_Literal_IntervalYearToMonth* release_interval_year_to_month(); + ::substrait::Expression_Literal_IntervalYearToMonth* mutable_interval_year_to_month(); + void set_allocated_interval_year_to_month(::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month); + private: + const ::substrait::Expression_Literal_IntervalYearToMonth& _internal_interval_year_to_month() const; + ::substrait::Expression_Literal_IntervalYearToMonth* _internal_mutable_interval_year_to_month(); + public: + void unsafe_arena_set_allocated_interval_year_to_month( + ::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month); + ::substrait::Expression_Literal_IntervalYearToMonth* unsafe_arena_release_interval_year_to_month(); + + // .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 2; + bool has_interval_day_to_second() const; + private: + bool _internal_has_interval_day_to_second() const; + public: + void clear_interval_day_to_second(); + const ::substrait::Expression_Literal_IntervalDayToSecond& interval_day_to_second() const; + PROTOBUF_NODISCARD ::substrait::Expression_Literal_IntervalDayToSecond* release_interval_day_to_second(); + ::substrait::Expression_Literal_IntervalDayToSecond* mutable_interval_day_to_second(); + void set_allocated_interval_day_to_second(::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second); + private: + const ::substrait::Expression_Literal_IntervalDayToSecond& _internal_interval_day_to_second() const; + ::substrait::Expression_Literal_IntervalDayToSecond* _internal_mutable_interval_day_to_second(); + public: + void unsafe_arena_set_allocated_interval_day_to_second( + ::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second); + ::substrait::Expression_Literal_IntervalDayToSecond* unsafe_arena_release_interval_day_to_second(); + + // @@protoc_insertion_point(class_scope:substrait.Expression.Literal.IntervalCompound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month_; + ::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2falgebra_2eproto; }; @@ -14320,7 +15374,7 @@ class Expression_Literal_Struct final : &_Expression_Literal_Struct_default_instance_); } static constexpr int kIndexInFileMessages = - 63; + 67; friend void swap(Expression_Literal_Struct& a, Expression_Literal_Struct& b) { a.Swap(&b); @@ -14475,7 +15529,7 @@ class Expression_Literal_List final : &_Expression_Literal_List_default_instance_); } static constexpr int kIndexInFileMessages = - 64; + 68; friend void swap(Expression_Literal_List& a, Expression_Literal_List& b) { a.Swap(&b); @@ -14636,7 +15690,7 @@ class Expression_Literal_UserDefined final : &_Expression_Literal_UserDefined_default_instance_); } static constexpr int kIndexInFileMessages = - 65; + 69; friend void swap(Expression_Literal_UserDefined& a, Expression_Literal_UserDefined& b) { a.Swap(&b); @@ -14865,6 +15919,7 @@ class Expression_Literal final : kTime = 17, kIntervalYearToMonth = 19, kIntervalDayToSecond = 20, + kIntervalCompound = 36, kFixedChar = 21, kVarChar = 22, kFixedBinary = 23, @@ -14888,7 +15943,7 @@ class Expression_Literal final : &_Expression_Literal_default_instance_); } static constexpr int kIndexInFileMessages = - 66; + 70; friend void swap(Expression_Literal& a, Expression_Literal& b) { a.Swap(&b); @@ -14965,6 +16020,7 @@ class Expression_Literal final : typedef Expression_Literal_Map Map; typedef Expression_Literal_IntervalYearToMonth IntervalYearToMonth; typedef Expression_Literal_IntervalDayToSecond IntervalDayToSecond; + typedef Expression_Literal_IntervalCompound IntervalCompound; typedef Expression_Literal_Struct Struct; typedef Expression_Literal_List List; typedef Expression_Literal_UserDefined UserDefined; @@ -14988,6 +16044,7 @@ class Expression_Literal final : kTimeFieldNumber = 17, kIntervalYearToMonthFieldNumber = 19, kIntervalDayToSecondFieldNumber = 20, + kIntervalCompoundFieldNumber = 36, kFixedCharFieldNumber = 21, kVarCharFieldNumber = 22, kFixedBinaryFieldNumber = 23, @@ -15224,6 +16281,24 @@ class Expression_Literal final : ::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second); ::substrait::Expression_Literal_IntervalDayToSecond* unsafe_arena_release_interval_day_to_second(); + // .substrait.Expression.Literal.IntervalCompound interval_compound = 36; + bool has_interval_compound() const; + private: + bool _internal_has_interval_compound() const; + public: + void clear_interval_compound(); + const ::substrait::Expression_Literal_IntervalCompound& interval_compound() const; + PROTOBUF_NODISCARD ::substrait::Expression_Literal_IntervalCompound* release_interval_compound(); + ::substrait::Expression_Literal_IntervalCompound* mutable_interval_compound(); + void set_allocated_interval_compound(::substrait::Expression_Literal_IntervalCompound* interval_compound); + private: + const ::substrait::Expression_Literal_IntervalCompound& _internal_interval_compound() const; + ::substrait::Expression_Literal_IntervalCompound* _internal_mutable_interval_compound(); + public: + void unsafe_arena_set_allocated_interval_compound( + ::substrait::Expression_Literal_IntervalCompound* interval_compound); + ::substrait::Expression_Literal_IntervalCompound* unsafe_arena_release_interval_compound(); + // string fixed_char = 21; bool has_fixed_char() const; private: @@ -15508,6 +16583,7 @@ class Expression_Literal final : void set_has_time(); void set_has_interval_year_to_month(); void set_has_interval_day_to_second(); + void set_has_interval_compound(); void set_has_fixed_char(); void set_has_var_char(); void set_has_fixed_binary(); @@ -15549,6 +16625,7 @@ class Expression_Literal final : int64_t time_; ::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month_; ::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second_; + ::substrait::Expression_Literal_IntervalCompound* interval_compound_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fixed_char_; ::substrait::Expression_Literal_VarChar* var_char_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fixed_binary_; @@ -15620,7 +16697,7 @@ class Expression_Nested_Map_KeyValue final : &_Expression_Nested_Map_KeyValue_default_instance_); } static constexpr int kIndexInFileMessages = - 67; + 71; friend void swap(Expression_Nested_Map_KeyValue& a, Expression_Nested_Map_KeyValue& b) { a.Swap(&b); @@ -15795,7 +16872,7 @@ class Expression_Nested_Map final : &_Expression_Nested_Map_default_instance_); } static constexpr int kIndexInFileMessages = - 68; + 72; friend void swap(Expression_Nested_Map& a, Expression_Nested_Map& b) { a.Swap(&b); @@ -15952,7 +17029,7 @@ class Expression_Nested_Struct final : &_Expression_Nested_Struct_default_instance_); } static constexpr int kIndexInFileMessages = - 69; + 73; friend void swap(Expression_Nested_Struct& a, Expression_Nested_Struct& b) { a.Swap(&b); @@ -16107,7 +17184,7 @@ class Expression_Nested_List final : &_Expression_Nested_List_default_instance_); } static constexpr int kIndexInFileMessages = - 70; + 74; friend void swap(Expression_Nested_List& a, Expression_Nested_List& b) { a.Swap(&b); @@ -16269,7 +17346,7 @@ class Expression_Nested final : &_Expression_Nested_default_instance_); } static constexpr int kIndexInFileMessages = - 71; + 75; friend void swap(Expression_Nested& a, Expression_Nested& b) { a.Swap(&b); @@ -16504,7 +17581,7 @@ class Expression_ScalarFunction final : &_Expression_ScalarFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 72; + 76; friend void swap(Expression_ScalarFunction& a, Expression_ScalarFunction& b) { a.Swap(&b); @@ -16730,7 +17807,7 @@ class Expression_WindowFunction_Bound_Preceding final : &_Expression_WindowFunction_Bound_Preceding_default_instance_); } static constexpr int kIndexInFileMessages = - 73; + 77; friend void swap(Expression_WindowFunction_Bound_Preceding& a, Expression_WindowFunction_Bound_Preceding& b) { a.Swap(&b); @@ -16876,7 +17953,7 @@ class Expression_WindowFunction_Bound_Following final : &_Expression_WindowFunction_Bound_Following_default_instance_); } static constexpr int kIndexInFileMessages = - 74; + 78; friend void swap(Expression_WindowFunction_Bound_Following& a, Expression_WindowFunction_Bound_Following& b) { a.Swap(&b); @@ -17021,7 +18098,7 @@ class Expression_WindowFunction_Bound_CurrentRow final : &_Expression_WindowFunction_Bound_CurrentRow_default_instance_); } static constexpr int kIndexInFileMessages = - 75; + 79; friend void swap(Expression_WindowFunction_Bound_CurrentRow& a, Expression_WindowFunction_Bound_CurrentRow& b) { a.Swap(&b); @@ -17139,7 +18216,7 @@ class Expression_WindowFunction_Bound_Unbounded final : &_Expression_WindowFunction_Bound_Unbounded_default_instance_); } static constexpr int kIndexInFileMessages = - 76; + 80; friend void swap(Expression_WindowFunction_Bound_Unbounded& a, Expression_WindowFunction_Bound_Unbounded& b) { a.Swap(&b); @@ -17266,7 +18343,7 @@ class Expression_WindowFunction_Bound final : &_Expression_WindowFunction_Bound_default_instance_); } static constexpr int kIndexInFileMessages = - 77; + 81; friend void swap(Expression_WindowFunction_Bound& a, Expression_WindowFunction_Bound& b) { a.Swap(&b); @@ -17501,7 +18578,7 @@ class Expression_WindowFunction final : &_Expression_WindowFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 78; + 82; friend void swap(Expression_WindowFunction& a, Expression_WindowFunction& b) { a.Swap(&b); @@ -17874,7 +18951,7 @@ class Expression_IfThen_IfClause final : &_Expression_IfThen_IfClause_default_instance_); } static constexpr int kIndexInFileMessages = - 79; + 83; friend void swap(Expression_IfThen_IfClause& a, Expression_IfThen_IfClause& b) { a.Swap(&b); @@ -18049,7 +19126,7 @@ class Expression_IfThen final : &_Expression_IfThen_default_instance_); } static constexpr int kIndexInFileMessages = - 80; + 84; friend void swap(Expression_IfThen& a, Expression_IfThen& b) { a.Swap(&b); @@ -18226,7 +19303,7 @@ class Expression_Cast final : &_Expression_Cast_default_instance_); } static constexpr int kIndexInFileMessages = - 81; + 85; friend void swap(Expression_Cast& a, Expression_Cast& b) { a.Swap(&b); @@ -18444,7 +19521,7 @@ class Expression_SwitchExpression_IfValue final : &_Expression_SwitchExpression_IfValue_default_instance_); } static constexpr int kIndexInFileMessages = - 82; + 86; friend void swap(Expression_SwitchExpression_IfValue& a, Expression_SwitchExpression_IfValue& b) { a.Swap(&b); @@ -18619,7 +19696,7 @@ class Expression_SwitchExpression final : &_Expression_SwitchExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 83; + 87; friend void swap(Expression_SwitchExpression& a, Expression_SwitchExpression& b) { a.Swap(&b); @@ -18816,7 +19893,7 @@ class Expression_SingularOrList final : &_Expression_SingularOrList_default_instance_); } static constexpr int kIndexInFileMessages = - 84; + 88; friend void swap(Expression_SingularOrList& a, Expression_SingularOrList& b) { a.Swap(&b); @@ -18991,7 +20068,7 @@ class Expression_MultiOrList_Record final : &_Expression_MultiOrList_Record_default_instance_); } static constexpr int kIndexInFileMessages = - 85; + 89; friend void swap(Expression_MultiOrList_Record& a, Expression_MultiOrList_Record& b) { a.Swap(&b); @@ -19146,7 +20223,7 @@ class Expression_MultiOrList final : &_Expression_MultiOrList_default_instance_); } static constexpr int kIndexInFileMessages = - 86; + 90; friend void swap(Expression_MultiOrList& a, Expression_MultiOrList& b) { a.Swap(&b); @@ -19323,7 +20400,7 @@ class Expression_EmbeddedFunction_PythonPickleFunction final : &_Expression_EmbeddedFunction_PythonPickleFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 87; + 91; friend void swap(Expression_EmbeddedFunction_PythonPickleFunction& a, Expression_EmbeddedFunction_PythonPickleFunction& b) { a.Swap(&b); @@ -19500,7 +20577,7 @@ class Expression_EmbeddedFunction_WebAssemblyFunction final : &_Expression_EmbeddedFunction_WebAssemblyFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 88; + 92; friend void swap(Expression_EmbeddedFunction_WebAssemblyFunction& a, Expression_EmbeddedFunction_WebAssemblyFunction& b) { a.Swap(&b); @@ -19683,7 +20760,7 @@ class Expression_EmbeddedFunction final : &_Expression_EmbeddedFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 89; + 93; friend void swap(Expression_EmbeddedFunction& a, Expression_EmbeddedFunction& b) { a.Swap(&b); @@ -19914,7 +20991,7 @@ class Expression_ReferenceSegment_MapKey final : &_Expression_ReferenceSegment_MapKey_default_instance_); } static constexpr int kIndexInFileMessages = - 90; + 94; friend void swap(Expression_ReferenceSegment_MapKey& a, Expression_ReferenceSegment_MapKey& b) { a.Swap(&b); @@ -20089,7 +21166,7 @@ class Expression_ReferenceSegment_StructField final : &_Expression_ReferenceSegment_StructField_default_instance_); } static constexpr int kIndexInFileMessages = - 91; + 95; friend void swap(Expression_ReferenceSegment_StructField& a, Expression_ReferenceSegment_StructField& b) { a.Swap(&b); @@ -20255,7 +21332,7 @@ class Expression_ReferenceSegment_ListElement final : &_Expression_ReferenceSegment_ListElement_default_instance_); } static constexpr int kIndexInFileMessages = - 92; + 96; friend void swap(Expression_ReferenceSegment_ListElement& a, Expression_ReferenceSegment_ListElement& b) { a.Swap(&b); @@ -20428,7 +21505,7 @@ class Expression_ReferenceSegment final : &_Expression_ReferenceSegment_default_instance_); } static constexpr int kIndexInFileMessages = - 93; + 97; friend void swap(Expression_ReferenceSegment& a, Expression_ReferenceSegment& b) { a.Swap(&b); @@ -20648,7 +21725,7 @@ class Expression_MaskExpression_Select final : &_Expression_MaskExpression_Select_default_instance_); } static constexpr int kIndexInFileMessages = - 94; + 98; friend void swap(Expression_MaskExpression_Select& a, Expression_MaskExpression_Select& b) { a.Swap(&b); @@ -20857,7 +21934,7 @@ class Expression_MaskExpression_StructSelect final : &_Expression_MaskExpression_StructSelect_default_instance_); } static constexpr int kIndexInFileMessages = - 95; + 99; friend void swap(Expression_MaskExpression_StructSelect& a, Expression_MaskExpression_StructSelect& b) { a.Swap(&b); @@ -21012,7 +22089,7 @@ class Expression_MaskExpression_StructItem final : &_Expression_MaskExpression_StructItem_default_instance_); } static constexpr int kIndexInFileMessages = - 96; + 100; friend void swap(Expression_MaskExpression_StructItem& a, Expression_MaskExpression_StructItem& b) { a.Swap(&b); @@ -21178,7 +22255,7 @@ class Expression_MaskExpression_ListSelect_ListSelectItem_ListElement final : &_Expression_MaskExpression_ListSelect_ListSelectItem_ListElement_default_instance_); } static constexpr int kIndexInFileMessages = - 97; + 101; friend void swap(Expression_MaskExpression_ListSelect_ListSelectItem_ListElement& a, Expression_MaskExpression_ListSelect_ListSelectItem_ListElement& b) { a.Swap(&b); @@ -21324,7 +22401,7 @@ class Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice final : &_Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice_default_instance_); } static constexpr int kIndexInFileMessages = - 98; + 102; friend void swap(Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice& a, Expression_MaskExpression_ListSelect_ListSelectItem_ListSlice& b) { a.Swap(&b); @@ -21487,7 +22564,7 @@ class Expression_MaskExpression_ListSelect_ListSelectItem final : &_Expression_MaskExpression_ListSelect_ListSelectItem_default_instance_); } static constexpr int kIndexInFileMessages = - 99; + 103; friend void swap(Expression_MaskExpression_ListSelect_ListSelectItem& a, Expression_MaskExpression_ListSelect_ListSelectItem& b) { a.Swap(&b); @@ -21678,7 +22755,7 @@ class Expression_MaskExpression_ListSelect final : &_Expression_MaskExpression_ListSelect_default_instance_); } static constexpr int kIndexInFileMessages = - 100; + 104; friend void swap(Expression_MaskExpression_ListSelect& a, Expression_MaskExpression_ListSelect& b) { a.Swap(&b); @@ -21855,7 +22932,7 @@ class Expression_MaskExpression_MapSelect_MapKey final : &_Expression_MaskExpression_MapSelect_MapKey_default_instance_); } static constexpr int kIndexInFileMessages = - 101; + 105; friend void swap(Expression_MaskExpression_MapSelect_MapKey& a, Expression_MaskExpression_MapSelect_MapKey& b) { a.Swap(&b); @@ -22006,7 +23083,7 @@ class Expression_MaskExpression_MapSelect_MapKeyExpression final : &_Expression_MaskExpression_MapSelect_MapKeyExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 102; + 106; friend void swap(Expression_MaskExpression_MapSelect_MapKeyExpression& a, Expression_MaskExpression_MapSelect_MapKeyExpression& b) { a.Swap(&b); @@ -22163,7 +23240,7 @@ class Expression_MaskExpression_MapSelect final : &_Expression_MaskExpression_MapSelect_default_instance_); } static constexpr int kIndexInFileMessages = - 103; + 107; friend void swap(Expression_MaskExpression_MapSelect& a, Expression_MaskExpression_MapSelect& b) { a.Swap(&b); @@ -22374,7 +23451,7 @@ class Expression_MaskExpression final : &_Expression_MaskExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 104; + 108; friend void swap(Expression_MaskExpression& a, Expression_MaskExpression& b) { a.Swap(&b); @@ -22545,7 +23622,7 @@ class Expression_FieldReference_RootReference final : &_Expression_FieldReference_RootReference_default_instance_); } static constexpr int kIndexInFileMessages = - 105; + 109; friend void swap(Expression_FieldReference_RootReference& a, Expression_FieldReference_RootReference& b) { a.Swap(&b); @@ -22664,7 +23741,7 @@ class Expression_FieldReference_OuterReference final : &_Expression_FieldReference_OuterReference_default_instance_); } static constexpr int kIndexInFileMessages = - 106; + 110; friend void swap(Expression_FieldReference_OuterReference& a, Expression_FieldReference_OuterReference& b) { a.Swap(&b); @@ -22823,7 +23900,7 @@ class Expression_FieldReference final : &_Expression_FieldReference_default_instance_); } static constexpr int kIndexInFileMessages = - 107; + 111; friend void swap(Expression_FieldReference& a, Expression_FieldReference& b) { a.Swap(&b); @@ -23086,7 +24163,7 @@ class Expression_Subquery_Scalar final : &_Expression_Subquery_Scalar_default_instance_); } static constexpr int kIndexInFileMessages = - 108; + 112; friend void swap(Expression_Subquery_Scalar& a, Expression_Subquery_Scalar& b) { a.Swap(&b); @@ -23241,7 +24318,7 @@ class Expression_Subquery_InPredicate final : &_Expression_Subquery_InPredicate_default_instance_); } static constexpr int kIndexInFileMessages = - 109; + 113; friend void swap(Expression_Subquery_InPredicate& a, Expression_Subquery_InPredicate& b) { a.Swap(&b); @@ -23416,7 +24493,7 @@ class Expression_Subquery_SetPredicate final : &_Expression_Subquery_SetPredicate_default_instance_); } static constexpr int kIndexInFileMessages = - 110; + 114; friend void swap(Expression_Subquery_SetPredicate& a, Expression_Subquery_SetPredicate& b) { a.Swap(&b); @@ -23614,7 +24691,7 @@ class Expression_Subquery_SetComparison final : &_Expression_Subquery_SetComparison_default_instance_); } static constexpr int kIndexInFileMessages = - 111; + 115; friend void swap(Expression_Subquery_SetComparison& a, Expression_Subquery_SetComparison& b) { a.Swap(&b); @@ -23891,7 +24968,7 @@ class Expression_Subquery final : &_Expression_Subquery_default_instance_); } static constexpr int kIndexInFileMessages = - 112; + 116; friend void swap(Expression_Subquery& a, Expression_Subquery& b) { a.Swap(&b); @@ -24142,7 +25219,7 @@ class Expression final : &_Expression_default_instance_); } static constexpr int kIndexInFileMessages = - 113; + 117; friend void swap(Expression& a, Expression& b) { a.Swap(&b); @@ -24562,7 +25639,7 @@ class SortField final : &_SortField_default_instance_); } static constexpr int kIndexInFileMessages = - 114; + 118; friend void swap(SortField& a, SortField& b) { a.Swap(&b); @@ -24798,7 +25875,7 @@ class AggregateFunction final : &_AggregateFunction_default_instance_); } static constexpr int kIndexInFileMessages = - 115; + 119; friend void swap(AggregateFunction& a, AggregateFunction& b) { a.Swap(&b); @@ -25098,7 +26175,7 @@ class ReferenceRel final : &_ReferenceRel_default_instance_); } static constexpr int kIndexInFileMessages = - 116; + 120; friend void swap(ReferenceRel& a, ReferenceRel& b) { a.Swap(&b); @@ -25478,6 +26555,94 @@ inline void RelCommon_Hint_RuntimeConstraint::set_allocated_advanced_extension(: // ------------------------------------------------------------------- +// RelCommon_Hint_SavedComputation + +// int32 computation_id = 1; +inline void RelCommon_Hint_SavedComputation::clear_computation_id() { + computation_id_ = 0; +} +inline int32_t RelCommon_Hint_SavedComputation::_internal_computation_id() const { + return computation_id_; +} +inline int32_t RelCommon_Hint_SavedComputation::computation_id() const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.SavedComputation.computation_id) + return _internal_computation_id(); +} +inline void RelCommon_Hint_SavedComputation::_internal_set_computation_id(int32_t value) { + + computation_id_ = value; +} +inline void RelCommon_Hint_SavedComputation::set_computation_id(int32_t value) { + _internal_set_computation_id(value); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.SavedComputation.computation_id) +} + +// .substrait.RelCommon.Hint.ComputationType type = 2; +inline void RelCommon_Hint_SavedComputation::clear_type() { + type_ = 0; +} +inline ::substrait::RelCommon_Hint_ComputationType RelCommon_Hint_SavedComputation::_internal_type() const { + return static_cast< ::substrait::RelCommon_Hint_ComputationType >(type_); +} +inline ::substrait::RelCommon_Hint_ComputationType RelCommon_Hint_SavedComputation::type() const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.SavedComputation.type) + return _internal_type(); +} +inline void RelCommon_Hint_SavedComputation::_internal_set_type(::substrait::RelCommon_Hint_ComputationType value) { + + type_ = value; +} +inline void RelCommon_Hint_SavedComputation::set_type(::substrait::RelCommon_Hint_ComputationType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.SavedComputation.type) +} + +// ------------------------------------------------------------------- + +// RelCommon_Hint_LoadedComputation + +// int32 computation_id_reference = 1; +inline void RelCommon_Hint_LoadedComputation::clear_computation_id_reference() { + computation_id_reference_ = 0; +} +inline int32_t RelCommon_Hint_LoadedComputation::_internal_computation_id_reference() const { + return computation_id_reference_; +} +inline int32_t RelCommon_Hint_LoadedComputation::computation_id_reference() const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.LoadedComputation.computation_id_reference) + return _internal_computation_id_reference(); +} +inline void RelCommon_Hint_LoadedComputation::_internal_set_computation_id_reference(int32_t value) { + + computation_id_reference_ = value; +} +inline void RelCommon_Hint_LoadedComputation::set_computation_id_reference(int32_t value) { + _internal_set_computation_id_reference(value); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.LoadedComputation.computation_id_reference) +} + +// .substrait.RelCommon.Hint.ComputationType type = 2; +inline void RelCommon_Hint_LoadedComputation::clear_type() { + type_ = 0; +} +inline ::substrait::RelCommon_Hint_ComputationType RelCommon_Hint_LoadedComputation::_internal_type() const { + return static_cast< ::substrait::RelCommon_Hint_ComputationType >(type_); +} +inline ::substrait::RelCommon_Hint_ComputationType RelCommon_Hint_LoadedComputation::type() const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.LoadedComputation.type) + return _internal_type(); +} +inline void RelCommon_Hint_LoadedComputation::_internal_set_type(::substrait::RelCommon_Hint_ComputationType value) { + + type_ = value; +} +inline void RelCommon_Hint_LoadedComputation::set_type(::substrait::RelCommon_Hint_ComputationType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.LoadedComputation.type) +} + +// ------------------------------------------------------------------- + // RelCommon_Hint // .substrait.RelCommon.Hint.Stats stats = 1; @@ -25711,6 +26876,81 @@ inline void RelCommon_Hint::set_allocated_alias(std::string* alias) { // @@protoc_insertion_point(field_set_allocated:substrait.RelCommon.Hint.alias) } +// repeated string output_names = 4; +inline int RelCommon_Hint::_internal_output_names_size() const { + return output_names_.size(); +} +inline int RelCommon_Hint::output_names_size() const { + return _internal_output_names_size(); +} +inline void RelCommon_Hint::clear_output_names() { + output_names_.Clear(); +} +inline std::string* RelCommon_Hint::add_output_names() { + std::string* _s = _internal_add_output_names(); + // @@protoc_insertion_point(field_add_mutable:substrait.RelCommon.Hint.output_names) + return _s; +} +inline const std::string& RelCommon_Hint::_internal_output_names(int index) const { + return output_names_.Get(index); +} +inline const std::string& RelCommon_Hint::output_names(int index) const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.output_names) + return _internal_output_names(index); +} +inline std::string* RelCommon_Hint::mutable_output_names(int index) { + // @@protoc_insertion_point(field_mutable:substrait.RelCommon.Hint.output_names) + return output_names_.Mutable(index); +} +inline void RelCommon_Hint::set_output_names(int index, const std::string& value) { + output_names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::set_output_names(int index, std::string&& value) { + output_names_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::set_output_names(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + output_names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::set_output_names(int index, const char* value, size_t size) { + output_names_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:substrait.RelCommon.Hint.output_names) +} +inline std::string* RelCommon_Hint::_internal_add_output_names() { + return output_names_.Add(); +} +inline void RelCommon_Hint::add_output_names(const std::string& value) { + output_names_.Add()->assign(value); + // @@protoc_insertion_point(field_add:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::add_output_names(std::string&& value) { + output_names_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::add_output_names(const char* value) { + GOOGLE_DCHECK(value != nullptr); + output_names_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:substrait.RelCommon.Hint.output_names) +} +inline void RelCommon_Hint::add_output_names(const char* value, size_t size) { + output_names_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:substrait.RelCommon.Hint.output_names) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +RelCommon_Hint::output_names() const { + // @@protoc_insertion_point(field_list:substrait.RelCommon.Hint.output_names) + return output_names_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +RelCommon_Hint::mutable_output_names() { + // @@protoc_insertion_point(field_mutable_list:substrait.RelCommon.Hint.output_names) + return &output_names_; +} + // .substrait.extensions.AdvancedExtension advanced_extension = 10; inline bool RelCommon_Hint::_internal_has_advanced_extension() const { return this != internal_default_instance() && advanced_extension_ != nullptr; @@ -25797,6 +27037,86 @@ inline void RelCommon_Hint::set_allocated_advanced_extension(::substrait::extens // @@protoc_insertion_point(field_set_allocated:substrait.RelCommon.Hint.advanced_extension) } +// repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11; +inline int RelCommon_Hint::_internal_saved_computations_size() const { + return saved_computations_.size(); +} +inline int RelCommon_Hint::saved_computations_size() const { + return _internal_saved_computations_size(); +} +inline void RelCommon_Hint::clear_saved_computations() { + saved_computations_.Clear(); +} +inline ::substrait::RelCommon_Hint_SavedComputation* RelCommon_Hint::mutable_saved_computations(int index) { + // @@protoc_insertion_point(field_mutable:substrait.RelCommon.Hint.saved_computations) + return saved_computations_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_SavedComputation >* +RelCommon_Hint::mutable_saved_computations() { + // @@protoc_insertion_point(field_mutable_list:substrait.RelCommon.Hint.saved_computations) + return &saved_computations_; +} +inline const ::substrait::RelCommon_Hint_SavedComputation& RelCommon_Hint::_internal_saved_computations(int index) const { + return saved_computations_.Get(index); +} +inline const ::substrait::RelCommon_Hint_SavedComputation& RelCommon_Hint::saved_computations(int index) const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.saved_computations) + return _internal_saved_computations(index); +} +inline ::substrait::RelCommon_Hint_SavedComputation* RelCommon_Hint::_internal_add_saved_computations() { + return saved_computations_.Add(); +} +inline ::substrait::RelCommon_Hint_SavedComputation* RelCommon_Hint::add_saved_computations() { + ::substrait::RelCommon_Hint_SavedComputation* _add = _internal_add_saved_computations(); + // @@protoc_insertion_point(field_add:substrait.RelCommon.Hint.saved_computations) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_SavedComputation >& +RelCommon_Hint::saved_computations() const { + // @@protoc_insertion_point(field_list:substrait.RelCommon.Hint.saved_computations) + return saved_computations_; +} + +// repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12; +inline int RelCommon_Hint::_internal_loaded_computations_size() const { + return loaded_computations_.size(); +} +inline int RelCommon_Hint::loaded_computations_size() const { + return _internal_loaded_computations_size(); +} +inline void RelCommon_Hint::clear_loaded_computations() { + loaded_computations_.Clear(); +} +inline ::substrait::RelCommon_Hint_LoadedComputation* RelCommon_Hint::mutable_loaded_computations(int index) { + // @@protoc_insertion_point(field_mutable:substrait.RelCommon.Hint.loaded_computations) + return loaded_computations_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_LoadedComputation >* +RelCommon_Hint::mutable_loaded_computations() { + // @@protoc_insertion_point(field_mutable_list:substrait.RelCommon.Hint.loaded_computations) + return &loaded_computations_; +} +inline const ::substrait::RelCommon_Hint_LoadedComputation& RelCommon_Hint::_internal_loaded_computations(int index) const { + return loaded_computations_.Get(index); +} +inline const ::substrait::RelCommon_Hint_LoadedComputation& RelCommon_Hint::loaded_computations(int index) const { + // @@protoc_insertion_point(field_get:substrait.RelCommon.Hint.loaded_computations) + return _internal_loaded_computations(index); +} +inline ::substrait::RelCommon_Hint_LoadedComputation* RelCommon_Hint::_internal_add_loaded_computations() { + return loaded_computations_.Add(); +} +inline ::substrait::RelCommon_Hint_LoadedComputation* RelCommon_Hint::add_loaded_computations() { + ::substrait::RelCommon_Hint_LoadedComputation* _add = _internal_add_loaded_computations(); + // @@protoc_insertion_point(field_add:substrait.RelCommon.Hint.loaded_computations) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::RelCommon_Hint_LoadedComputation >& +RelCommon_Hint::loaded_computations() const { + // @@protoc_insertion_point(field_list:substrait.RelCommon.Hint.loaded_computations) + return loaded_computations_; +} + // ------------------------------------------------------------------- // RelCommon @@ -26303,7 +27623,7 @@ inline void ReadRel_NamedTable::set_allocated_advanced_extension(::substrait::ex // ReadRel_VirtualTable -// repeated .substrait.Expression.Literal.Struct values = 1; +// repeated .substrait.Expression.Literal.Struct values = 1 [deprecated = true]; inline int ReadRel_VirtualTable::_internal_values_size() const { return values_.size(); } @@ -26343,6 +27663,46 @@ ReadRel_VirtualTable::values() const { return values_; } +// repeated .substrait.Expression.Nested.Struct expressions = 2; +inline int ReadRel_VirtualTable::_internal_expressions_size() const { + return expressions_.size(); +} +inline int ReadRel_VirtualTable::expressions_size() const { + return _internal_expressions_size(); +} +inline void ReadRel_VirtualTable::clear_expressions() { + expressions_.Clear(); +} +inline ::substrait::Expression_Nested_Struct* ReadRel_VirtualTable::mutable_expressions(int index) { + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.VirtualTable.expressions) + return expressions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Nested_Struct >* +ReadRel_VirtualTable::mutable_expressions() { + // @@protoc_insertion_point(field_mutable_list:substrait.ReadRel.VirtualTable.expressions) + return &expressions_; +} +inline const ::substrait::Expression_Nested_Struct& ReadRel_VirtualTable::_internal_expressions(int index) const { + return expressions_.Get(index); +} +inline const ::substrait::Expression_Nested_Struct& ReadRel_VirtualTable::expressions(int index) const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.VirtualTable.expressions) + return _internal_expressions(index); +} +inline ::substrait::Expression_Nested_Struct* ReadRel_VirtualTable::_internal_add_expressions() { + return expressions_.Add(); +} +inline ::substrait::Expression_Nested_Struct* ReadRel_VirtualTable::add_expressions() { + ::substrait::Expression_Nested_Struct* _add = _internal_add_expressions(); + // @@protoc_insertion_point(field_add:substrait.ReadRel.VirtualTable.expressions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression_Nested_Struct >& +ReadRel_VirtualTable::expressions() const { + // @@protoc_insertion_point(field_list:substrait.ReadRel.VirtualTable.expressions) + return expressions_; +} + // ------------------------------------------------------------------- // ReadRel_ExtensionTable @@ -26451,6 +27811,272 @@ inline void ReadRel_ExtensionTable::set_allocated_detail(::PROTOBUF_NAMESPACE_ID // ------------------------------------------------------------------- +// ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions + +// string field_delimiter = 1; +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_field_delimiter() { + field_delimiter_.ClearToEmpty(); +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::field_delimiter() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter) + return _internal_field_delimiter(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_field_delimiter(ArgT0&& arg0, ArgT... args) { + + field_delimiter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter) +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::mutable_field_delimiter() { + std::string* _s = _internal_mutable_field_delimiter(); + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter) + return _s; +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_field_delimiter() const { + return field_delimiter_.Get(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_field_delimiter(const std::string& value) { + + field_delimiter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_mutable_field_delimiter() { + + return field_delimiter_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::release_field_delimiter() { + // @@protoc_insertion_point(field_release:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter) + return field_delimiter_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_allocated_field_delimiter(std::string* field_delimiter) { + if (field_delimiter != nullptr) { + + } else { + + } + field_delimiter_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), field_delimiter, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (field_delimiter_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + field_delimiter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.field_delimiter) +} + +// uint64 max_line_size = 2; +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_max_line_size() { + max_line_size_ = uint64_t{0u}; +} +inline uint64_t ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_max_line_size() const { + return max_line_size_; +} +inline uint64_t ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::max_line_size() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.max_line_size) + return _internal_max_line_size(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_max_line_size(uint64_t value) { + + max_line_size_ = value; +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_max_line_size(uint64_t value) { + _internal_set_max_line_size(value); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.max_line_size) +} + +// string quote = 3; +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_quote() { + quote_.ClearToEmpty(); +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::quote() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote) + return _internal_quote(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_quote(ArgT0&& arg0, ArgT... args) { + + quote_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote) +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::mutable_quote() { + std::string* _s = _internal_mutable_quote(); + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote) + return _s; +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_quote() const { + return quote_.Get(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_quote(const std::string& value) { + + quote_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_mutable_quote() { + + return quote_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::release_quote() { + // @@protoc_insertion_point(field_release:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote) + return quote_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_allocated_quote(std::string* quote) { + if (quote != nullptr) { + + } else { + + } + quote_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), quote, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (quote_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + quote_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.quote) +} + +// uint64 header_lines_to_skip = 4; +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_header_lines_to_skip() { + header_lines_to_skip_ = uint64_t{0u}; +} +inline uint64_t ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_header_lines_to_skip() const { + return header_lines_to_skip_; +} +inline uint64_t ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::header_lines_to_skip() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.header_lines_to_skip) + return _internal_header_lines_to_skip(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_header_lines_to_skip(uint64_t value) { + + header_lines_to_skip_ = value; +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_header_lines_to_skip(uint64_t value) { + _internal_set_header_lines_to_skip(value); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.header_lines_to_skip) +} + +// string escape = 5; +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_escape() { + escape_.ClearToEmpty(); +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::escape() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape) + return _internal_escape(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_escape(ArgT0&& arg0, ArgT... args) { + + escape_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape) +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::mutable_escape() { + std::string* _s = _internal_mutable_escape(); + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape) + return _s; +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_escape() const { + return escape_.Get(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_escape(const std::string& value) { + + escape_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_mutable_escape() { + + return escape_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::release_escape() { + // @@protoc_insertion_point(field_release:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape) + return escape_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_allocated_escape(std::string* escape) { + if (escape != nullptr) { + + } else { + + } + escape_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), escape, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (escape_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + escape_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.escape) +} + +// optional string value_treated_as_null = 6; +inline bool ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_has_value_treated_as_null() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::has_value_treated_as_null() const { + return _internal_has_value_treated_as_null(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::clear_value_treated_as_null() { + value_treated_as_null_.ClearToEmpty(); + _has_bits_[0] &= ~0x00000001u; +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::value_treated_as_null() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null) + return _internal_value_treated_as_null(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_value_treated_as_null(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + value_treated_as_null_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null) +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::mutable_value_treated_as_null() { + std::string* _s = _internal_mutable_value_treated_as_null(); + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null) + return _s; +} +inline const std::string& ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_value_treated_as_null() const { + return value_treated_as_null_.Get(); +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_set_value_treated_as_null(const std::string& value) { + _has_bits_[0] |= 0x00000001u; + value_treated_as_null_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::_internal_mutable_value_treated_as_null() { + _has_bits_[0] |= 0x00000001u; + return value_treated_as_null_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::release_value_treated_as_null() { + // @@protoc_insertion_point(field_release:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null) + if (!_internal_has_value_treated_as_null()) { + return nullptr; + } + _has_bits_[0] &= ~0x00000001u; + auto* p = value_treated_as_null_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (value_treated_as_null_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + value_treated_as_null_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions::set_allocated_value_treated_as_null(std::string* value_treated_as_null) { + if (value_treated_as_null != nullptr) { + _has_bits_[0] |= 0x00000001u; + } else { + _has_bits_[0] &= ~0x00000001u; + } + value_treated_as_null_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value_treated_as_null, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (value_treated_as_null_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + value_treated_as_null_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions.value_treated_as_null) +} + +// ------------------------------------------------------------------- + // ReadRel_LocalFiles_FileOrFiles // string uri_path = 1; @@ -27203,6 +28829,80 @@ inline ::substrait::ReadRel_LocalFiles_FileOrFiles_DwrfReadOptions* ReadRel_Loca return _msg; } +// .substrait.ReadRel.LocalFiles.FileOrFiles.DelimiterSeparatedTextReadOptions text = 14; +inline bool ReadRel_LocalFiles_FileOrFiles::_internal_has_text() const { + return file_format_case() == kText; +} +inline bool ReadRel_LocalFiles_FileOrFiles::has_text() const { + return _internal_has_text(); +} +inline void ReadRel_LocalFiles_FileOrFiles::set_has_text() { + _oneof_case_[1] = kText; +} +inline void ReadRel_LocalFiles_FileOrFiles::clear_text() { + if (_internal_has_text()) { + if (GetArenaForAllocation() == nullptr) { + delete file_format_.text_; + } + clear_has_file_format(); + } +} +inline ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* ReadRel_LocalFiles_FileOrFiles::release_text() { + // @@protoc_insertion_point(field_release:substrait.ReadRel.LocalFiles.FileOrFiles.text) + if (_internal_has_text()) { + clear_has_file_format(); + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* temp = file_format_.text_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + file_format_.text_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& ReadRel_LocalFiles_FileOrFiles::_internal_text() const { + return _internal_has_text() + ? *file_format_.text_ + : reinterpret_cast< ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions&>(::substrait::_ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions_default_instance_); +} +inline const ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions& ReadRel_LocalFiles_FileOrFiles::text() const { + // @@protoc_insertion_point(field_get:substrait.ReadRel.LocalFiles.FileOrFiles.text) + return _internal_text(); +} +inline ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* ReadRel_LocalFiles_FileOrFiles::unsafe_arena_release_text() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.ReadRel.LocalFiles.FileOrFiles.text) + if (_internal_has_text()) { + clear_has_file_format(); + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* temp = file_format_.text_; + file_format_.text_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ReadRel_LocalFiles_FileOrFiles::unsafe_arena_set_allocated_text(::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* text) { + clear_file_format(); + if (text) { + set_has_text(); + file_format_.text_ = text; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.ReadRel.LocalFiles.FileOrFiles.text) +} +inline ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* ReadRel_LocalFiles_FileOrFiles::_internal_mutable_text() { + if (!_internal_has_text()) { + clear_file_format(); + set_has_text(); + file_format_.text_ = CreateMaybeMessage< ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions >(GetArenaForAllocation()); + } + return file_format_.text_; +} +inline ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* ReadRel_LocalFiles_FileOrFiles::mutable_text() { + ::substrait::ReadRel_LocalFiles_FileOrFiles_DelimiterSeparatedTextReadOptions* _msg = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:substrait.ReadRel.LocalFiles.FileOrFiles.text) + return _msg; +} + inline bool ReadRel_LocalFiles_FileOrFiles::has_path_type() const { return path_type_case() != PATH_TYPE_NOT_SET; } @@ -29736,7 +31436,7 @@ inline void FetchRel::set_allocated_advanced_extension(::substrait::extensions:: // AggregateRel_Grouping -// repeated .substrait.Expression grouping_expressions = 1; +// repeated .substrait.Expression grouping_expressions = 1 [deprecated = true]; inline int AggregateRel_Grouping::_internal_grouping_expressions_size() const { return grouping_expressions_.size(); } @@ -29776,6 +31476,53 @@ AggregateRel_Grouping::grouping_expressions() const { return grouping_expressions_; } +// repeated uint32 expression_references = 2; +inline int AggregateRel_Grouping::_internal_expression_references_size() const { + return expression_references_.size(); +} +inline int AggregateRel_Grouping::expression_references_size() const { + return _internal_expression_references_size(); +} +inline void AggregateRel_Grouping::clear_expression_references() { + expression_references_.Clear(); +} +inline uint32_t AggregateRel_Grouping::_internal_expression_references(int index) const { + return expression_references_.Get(index); +} +inline uint32_t AggregateRel_Grouping::expression_references(int index) const { + // @@protoc_insertion_point(field_get:substrait.AggregateRel.Grouping.expression_references) + return _internal_expression_references(index); +} +inline void AggregateRel_Grouping::set_expression_references(int index, uint32_t value) { + expression_references_.Set(index, value); + // @@protoc_insertion_point(field_set:substrait.AggregateRel.Grouping.expression_references) +} +inline void AggregateRel_Grouping::_internal_add_expression_references(uint32_t value) { + expression_references_.Add(value); +} +inline void AggregateRel_Grouping::add_expression_references(uint32_t value) { + _internal_add_expression_references(value); + // @@protoc_insertion_point(field_add:substrait.AggregateRel.Grouping.expression_references) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +AggregateRel_Grouping::_internal_expression_references() const { + return expression_references_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +AggregateRel_Grouping::expression_references() const { + // @@protoc_insertion_point(field_list:substrait.AggregateRel.Grouping.expression_references) + return _internal_expression_references(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +AggregateRel_Grouping::_internal_mutable_expression_references() { + return &expression_references_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +AggregateRel_Grouping::mutable_expression_references() { + // @@protoc_insertion_point(field_mutable_list:substrait.AggregateRel.Grouping.expression_references) + return _internal_mutable_expression_references(); +} + // ------------------------------------------------------------------- // AggregateRel_Measure @@ -30224,6 +31971,46 @@ AggregateRel::measures() const { return measures_; } +// repeated .substrait.Expression grouping_expressions = 5; +inline int AggregateRel::_internal_grouping_expressions_size() const { + return grouping_expressions_.size(); +} +inline int AggregateRel::grouping_expressions_size() const { + return _internal_grouping_expressions_size(); +} +inline void AggregateRel::clear_grouping_expressions() { + grouping_expressions_.Clear(); +} +inline ::substrait::Expression* AggregateRel::mutable_grouping_expressions(int index) { + // @@protoc_insertion_point(field_mutable:substrait.AggregateRel.grouping_expressions) + return grouping_expressions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >* +AggregateRel::mutable_grouping_expressions() { + // @@protoc_insertion_point(field_mutable_list:substrait.AggregateRel.grouping_expressions) + return &grouping_expressions_; +} +inline const ::substrait::Expression& AggregateRel::_internal_grouping_expressions(int index) const { + return grouping_expressions_.Get(index); +} +inline const ::substrait::Expression& AggregateRel::grouping_expressions(int index) const { + // @@protoc_insertion_point(field_get:substrait.AggregateRel.grouping_expressions) + return _internal_grouping_expressions(index); +} +inline ::substrait::Expression* AggregateRel::_internal_add_grouping_expressions() { + return grouping_expressions_.Add(); +} +inline ::substrait::Expression* AggregateRel::add_grouping_expressions() { + ::substrait::Expression* _add = _internal_add_grouping_expressions(); + // @@protoc_insertion_point(field_add:substrait.AggregateRel.grouping_expressions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::Expression >& +AggregateRel::grouping_expressions() const { + // @@protoc_insertion_point(field_list:substrait.AggregateRel.grouping_expressions) + return grouping_expressions_; +} + // .substrait.extensions.AdvancedExtension advanced_extension = 10; inline bool AggregateRel::_internal_has_advanced_extension() const { return this != internal_default_instance() && advanced_extension_ != nullptr; @@ -40432,26 +42219,295 @@ inline void Expression_Literal_IntervalDayToSecond::set_seconds(int32_t value) { // @@protoc_insertion_point(field_set:substrait.Expression.Literal.IntervalDayToSecond.seconds) } -// int32 microseconds = 3; +// int32 microseconds = 3 [deprecated = true]; +inline bool Expression_Literal_IntervalDayToSecond::_internal_has_microseconds() const { + return precision_mode_case() == kMicroseconds; +} +inline bool Expression_Literal_IntervalDayToSecond::has_microseconds() const { + return _internal_has_microseconds(); +} +inline void Expression_Literal_IntervalDayToSecond::set_has_microseconds() { + _oneof_case_[0] = kMicroseconds; +} inline void Expression_Literal_IntervalDayToSecond::clear_microseconds() { - microseconds_ = 0; + if (_internal_has_microseconds()) { + precision_mode_.microseconds_ = 0; + clear_has_precision_mode(); + } } inline int32_t Expression_Literal_IntervalDayToSecond::_internal_microseconds() const { - return microseconds_; + if (_internal_has_microseconds()) { + return precision_mode_.microseconds_; + } + return 0; +} +inline void Expression_Literal_IntervalDayToSecond::_internal_set_microseconds(int32_t value) { + if (!_internal_has_microseconds()) { + clear_precision_mode(); + set_has_microseconds(); + } + precision_mode_.microseconds_ = value; } inline int32_t Expression_Literal_IntervalDayToSecond::microseconds() const { // @@protoc_insertion_point(field_get:substrait.Expression.Literal.IntervalDayToSecond.microseconds) return _internal_microseconds(); } -inline void Expression_Literal_IntervalDayToSecond::_internal_set_microseconds(int32_t value) { - - microseconds_ = value; -} inline void Expression_Literal_IntervalDayToSecond::set_microseconds(int32_t value) { _internal_set_microseconds(value); // @@protoc_insertion_point(field_set:substrait.Expression.Literal.IntervalDayToSecond.microseconds) } +// int32 precision = 4; +inline bool Expression_Literal_IntervalDayToSecond::_internal_has_precision() const { + return precision_mode_case() == kPrecision; +} +inline bool Expression_Literal_IntervalDayToSecond::has_precision() const { + return _internal_has_precision(); +} +inline void Expression_Literal_IntervalDayToSecond::set_has_precision() { + _oneof_case_[0] = kPrecision; +} +inline void Expression_Literal_IntervalDayToSecond::clear_precision() { + if (_internal_has_precision()) { + precision_mode_.precision_ = 0; + clear_has_precision_mode(); + } +} +inline int32_t Expression_Literal_IntervalDayToSecond::_internal_precision() const { + if (_internal_has_precision()) { + return precision_mode_.precision_; + } + return 0; +} +inline void Expression_Literal_IntervalDayToSecond::_internal_set_precision(int32_t value) { + if (!_internal_has_precision()) { + clear_precision_mode(); + set_has_precision(); + } + precision_mode_.precision_ = value; +} +inline int32_t Expression_Literal_IntervalDayToSecond::precision() const { + // @@protoc_insertion_point(field_get:substrait.Expression.Literal.IntervalDayToSecond.precision) + return _internal_precision(); +} +inline void Expression_Literal_IntervalDayToSecond::set_precision(int32_t value) { + _internal_set_precision(value); + // @@protoc_insertion_point(field_set:substrait.Expression.Literal.IntervalDayToSecond.precision) +} + +// int64 subseconds = 5; +inline void Expression_Literal_IntervalDayToSecond::clear_subseconds() { + subseconds_ = int64_t{0}; +} +inline int64_t Expression_Literal_IntervalDayToSecond::_internal_subseconds() const { + return subseconds_; +} +inline int64_t Expression_Literal_IntervalDayToSecond::subseconds() const { + // @@protoc_insertion_point(field_get:substrait.Expression.Literal.IntervalDayToSecond.subseconds) + return _internal_subseconds(); +} +inline void Expression_Literal_IntervalDayToSecond::_internal_set_subseconds(int64_t value) { + + subseconds_ = value; +} +inline void Expression_Literal_IntervalDayToSecond::set_subseconds(int64_t value) { + _internal_set_subseconds(value); + // @@protoc_insertion_point(field_set:substrait.Expression.Literal.IntervalDayToSecond.subseconds) +} + +inline bool Expression_Literal_IntervalDayToSecond::has_precision_mode() const { + return precision_mode_case() != PRECISION_MODE_NOT_SET; +} +inline void Expression_Literal_IntervalDayToSecond::clear_has_precision_mode() { + _oneof_case_[0] = PRECISION_MODE_NOT_SET; +} +inline Expression_Literal_IntervalDayToSecond::PrecisionModeCase Expression_Literal_IntervalDayToSecond::precision_mode_case() const { + return Expression_Literal_IntervalDayToSecond::PrecisionModeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// Expression_Literal_IntervalCompound + +// .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 1; +inline bool Expression_Literal_IntervalCompound::_internal_has_interval_year_to_month() const { + return this != internal_default_instance() && interval_year_to_month_ != nullptr; +} +inline bool Expression_Literal_IntervalCompound::has_interval_year_to_month() const { + return _internal_has_interval_year_to_month(); +} +inline void Expression_Literal_IntervalCompound::clear_interval_year_to_month() { + if (GetArenaForAllocation() == nullptr && interval_year_to_month_ != nullptr) { + delete interval_year_to_month_; + } + interval_year_to_month_ = nullptr; +} +inline const ::substrait::Expression_Literal_IntervalYearToMonth& Expression_Literal_IntervalCompound::_internal_interval_year_to_month() const { + const ::substrait::Expression_Literal_IntervalYearToMonth* p = interval_year_to_month_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_Expression_Literal_IntervalYearToMonth_default_instance_); +} +inline const ::substrait::Expression_Literal_IntervalYearToMonth& Expression_Literal_IntervalCompound::interval_year_to_month() const { + // @@protoc_insertion_point(field_get:substrait.Expression.Literal.IntervalCompound.interval_year_to_month) + return _internal_interval_year_to_month(); +} +inline void Expression_Literal_IntervalCompound::unsafe_arena_set_allocated_interval_year_to_month( + ::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interval_year_to_month_); + } + interval_year_to_month_ = interval_year_to_month; + if (interval_year_to_month) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.Expression.Literal.IntervalCompound.interval_year_to_month) +} +inline ::substrait::Expression_Literal_IntervalYearToMonth* Expression_Literal_IntervalCompound::release_interval_year_to_month() { + + ::substrait::Expression_Literal_IntervalYearToMonth* temp = interval_year_to_month_; + interval_year_to_month_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::Expression_Literal_IntervalYearToMonth* Expression_Literal_IntervalCompound::unsafe_arena_release_interval_year_to_month() { + // @@protoc_insertion_point(field_release:substrait.Expression.Literal.IntervalCompound.interval_year_to_month) + + ::substrait::Expression_Literal_IntervalYearToMonth* temp = interval_year_to_month_; + interval_year_to_month_ = nullptr; + return temp; +} +inline ::substrait::Expression_Literal_IntervalYearToMonth* Expression_Literal_IntervalCompound::_internal_mutable_interval_year_to_month() { + + if (interval_year_to_month_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::Expression_Literal_IntervalYearToMonth>(GetArenaForAllocation()); + interval_year_to_month_ = p; + } + return interval_year_to_month_; +} +inline ::substrait::Expression_Literal_IntervalYearToMonth* Expression_Literal_IntervalCompound::mutable_interval_year_to_month() { + ::substrait::Expression_Literal_IntervalYearToMonth* _msg = _internal_mutable_interval_year_to_month(); + // @@protoc_insertion_point(field_mutable:substrait.Expression.Literal.IntervalCompound.interval_year_to_month) + return _msg; +} +inline void Expression_Literal_IntervalCompound::set_allocated_interval_year_to_month(::substrait::Expression_Literal_IntervalYearToMonth* interval_year_to_month) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete interval_year_to_month_; + } + if (interval_year_to_month) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::Expression_Literal_IntervalYearToMonth>::GetOwningArena(interval_year_to_month); + if (message_arena != submessage_arena) { + interval_year_to_month = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_year_to_month, submessage_arena); + } + + } else { + + } + interval_year_to_month_ = interval_year_to_month; + // @@protoc_insertion_point(field_set_allocated:substrait.Expression.Literal.IntervalCompound.interval_year_to_month) +} + +// .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 2; +inline bool Expression_Literal_IntervalCompound::_internal_has_interval_day_to_second() const { + return this != internal_default_instance() && interval_day_to_second_ != nullptr; +} +inline bool Expression_Literal_IntervalCompound::has_interval_day_to_second() const { + return _internal_has_interval_day_to_second(); +} +inline void Expression_Literal_IntervalCompound::clear_interval_day_to_second() { + if (GetArenaForAllocation() == nullptr && interval_day_to_second_ != nullptr) { + delete interval_day_to_second_; + } + interval_day_to_second_ = nullptr; +} +inline const ::substrait::Expression_Literal_IntervalDayToSecond& Expression_Literal_IntervalCompound::_internal_interval_day_to_second() const { + const ::substrait::Expression_Literal_IntervalDayToSecond* p = interval_day_to_second_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_Expression_Literal_IntervalDayToSecond_default_instance_); +} +inline const ::substrait::Expression_Literal_IntervalDayToSecond& Expression_Literal_IntervalCompound::interval_day_to_second() const { + // @@protoc_insertion_point(field_get:substrait.Expression.Literal.IntervalCompound.interval_day_to_second) + return _internal_interval_day_to_second(); +} +inline void Expression_Literal_IntervalCompound::unsafe_arena_set_allocated_interval_day_to_second( + ::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interval_day_to_second_); + } + interval_day_to_second_ = interval_day_to_second; + if (interval_day_to_second) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.Expression.Literal.IntervalCompound.interval_day_to_second) +} +inline ::substrait::Expression_Literal_IntervalDayToSecond* Expression_Literal_IntervalCompound::release_interval_day_to_second() { + + ::substrait::Expression_Literal_IntervalDayToSecond* temp = interval_day_to_second_; + interval_day_to_second_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::Expression_Literal_IntervalDayToSecond* Expression_Literal_IntervalCompound::unsafe_arena_release_interval_day_to_second() { + // @@protoc_insertion_point(field_release:substrait.Expression.Literal.IntervalCompound.interval_day_to_second) + + ::substrait::Expression_Literal_IntervalDayToSecond* temp = interval_day_to_second_; + interval_day_to_second_ = nullptr; + return temp; +} +inline ::substrait::Expression_Literal_IntervalDayToSecond* Expression_Literal_IntervalCompound::_internal_mutable_interval_day_to_second() { + + if (interval_day_to_second_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::Expression_Literal_IntervalDayToSecond>(GetArenaForAllocation()); + interval_day_to_second_ = p; + } + return interval_day_to_second_; +} +inline ::substrait::Expression_Literal_IntervalDayToSecond* Expression_Literal_IntervalCompound::mutable_interval_day_to_second() { + ::substrait::Expression_Literal_IntervalDayToSecond* _msg = _internal_mutable_interval_day_to_second(); + // @@protoc_insertion_point(field_mutable:substrait.Expression.Literal.IntervalCompound.interval_day_to_second) + return _msg; +} +inline void Expression_Literal_IntervalCompound::set_allocated_interval_day_to_second(::substrait::Expression_Literal_IntervalDayToSecond* interval_day_to_second) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete interval_day_to_second_; + } + if (interval_day_to_second) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::Expression_Literal_IntervalDayToSecond>::GetOwningArena(interval_day_to_second); + if (message_arena != submessage_arena) { + interval_day_to_second = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_day_to_second, submessage_arena); + } + + } else { + + } + interval_day_to_second_ = interval_day_to_second; + // @@protoc_insertion_point(field_set_allocated:substrait.Expression.Literal.IntervalCompound.interval_day_to_second) +} + // ------------------------------------------------------------------- // Expression_Literal_Struct @@ -41446,6 +43502,80 @@ inline ::substrait::Expression_Literal_IntervalDayToSecond* Expression_Literal:: return _msg; } +// .substrait.Expression.Literal.IntervalCompound interval_compound = 36; +inline bool Expression_Literal::_internal_has_interval_compound() const { + return literal_type_case() == kIntervalCompound; +} +inline bool Expression_Literal::has_interval_compound() const { + return _internal_has_interval_compound(); +} +inline void Expression_Literal::set_has_interval_compound() { + _oneof_case_[0] = kIntervalCompound; +} +inline void Expression_Literal::clear_interval_compound() { + if (_internal_has_interval_compound()) { + if (GetArenaForAllocation() == nullptr) { + delete literal_type_.interval_compound_; + } + clear_has_literal_type(); + } +} +inline ::substrait::Expression_Literal_IntervalCompound* Expression_Literal::release_interval_compound() { + // @@protoc_insertion_point(field_release:substrait.Expression.Literal.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_literal_type(); + ::substrait::Expression_Literal_IntervalCompound* temp = literal_type_.interval_compound_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + literal_type_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::Expression_Literal_IntervalCompound& Expression_Literal::_internal_interval_compound() const { + return _internal_has_interval_compound() + ? *literal_type_.interval_compound_ + : reinterpret_cast< ::substrait::Expression_Literal_IntervalCompound&>(::substrait::_Expression_Literal_IntervalCompound_default_instance_); +} +inline const ::substrait::Expression_Literal_IntervalCompound& Expression_Literal::interval_compound() const { + // @@protoc_insertion_point(field_get:substrait.Expression.Literal.interval_compound) + return _internal_interval_compound(); +} +inline ::substrait::Expression_Literal_IntervalCompound* Expression_Literal::unsafe_arena_release_interval_compound() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.Expression.Literal.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_literal_type(); + ::substrait::Expression_Literal_IntervalCompound* temp = literal_type_.interval_compound_; + literal_type_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Expression_Literal::unsafe_arena_set_allocated_interval_compound(::substrait::Expression_Literal_IntervalCompound* interval_compound) { + clear_literal_type(); + if (interval_compound) { + set_has_interval_compound(); + literal_type_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.Expression.Literal.interval_compound) +} +inline ::substrait::Expression_Literal_IntervalCompound* Expression_Literal::_internal_mutable_interval_compound() { + if (!_internal_has_interval_compound()) { + clear_literal_type(); + set_has_interval_compound(); + literal_type_.interval_compound_ = CreateMaybeMessage< ::substrait::Expression_Literal_IntervalCompound >(GetArenaForAllocation()); + } + return literal_type_.interval_compound_; +} +inline ::substrait::Expression_Literal_IntervalCompound* Expression_Literal::mutable_interval_compound() { + ::substrait::Expression_Literal_IntervalCompound* _msg = _internal_mutable_interval_compound(); + // @@protoc_insertion_point(field_mutable:substrait.Expression.Literal.interval_compound) + return _msg; +} + // string fixed_char = 21; inline bool Expression_Literal::_internal_has_fixed_char() const { return literal_type_case() == kFixedChar; @@ -50862,6 +52992,14 @@ inline void ReferenceRel::set_subtree_ordinal(int32_t value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) @@ -50869,6 +53007,11 @@ inline void ReferenceRel::set_subtree_ordinal(int32_t value) { PROTOBUF_NAMESPACE_OPEN +template <> struct is_proto_enum< ::substrait::RelCommon_Hint_ComputationType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::substrait::RelCommon_Hint_ComputationType>() { + return ::substrait::RelCommon_Hint_ComputationType_descriptor(); +} template <> struct is_proto_enum< ::substrait::JoinRel_JoinType> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::substrait::JoinRel_JoinType>() { diff --git a/third_party/substrait/substrait/parameterized_types.pb.cc b/third_party/substrait/substrait/parameterized_types.pb.cc index 8cb7ebc..1adc066 100644 --- a/third_party/substrait/substrait/parameterized_types.pb.cc +++ b/third_party/substrait/substrait/parameterized_types.pb.cc @@ -117,6 +117,36 @@ struct ParameterizedType_ParameterizedDecimalDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ParameterizedType_ParameterizedDecimalDefaultTypeInternal _ParameterizedType_ParameterizedDecimal_default_instance_; +constexpr ParameterizedType_ParameterizedIntervalDay::ParameterizedType_ParameterizedIntervalDay( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : precision_(nullptr) + , variation_pointer_(0u) + , nullability_(0) +{} +struct ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal { + constexpr ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal() {} + union { + ParameterizedType_ParameterizedIntervalDay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal _ParameterizedType_ParameterizedIntervalDay_default_instance_; +constexpr ParameterizedType_ParameterizedIntervalCompound::ParameterizedType_ParameterizedIntervalCompound( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : precision_(nullptr) + , variation_pointer_(0u) + , nullability_(0) +{} +struct ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal { + constexpr ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal() {} + union { + ParameterizedType_ParameterizedIntervalCompound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal _ParameterizedType_ParameterizedIntervalCompound_default_instance_; constexpr ParameterizedType_ParameterizedPrecisionTimestamp::ParameterizedType_ParameterizedPrecisionTimestamp( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : precision_(nullptr) @@ -246,7 +276,7 @@ struct ParameterizedTypeDefaultTypeInternal { }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ParameterizedTypeDefaultTypeInternal _ParameterizedType_default_instance_; } // namespace substrait -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[16]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[18]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_substrait_2fparameterized_5ftypes_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_substrait_2fparameterized_5ftypes_2eproto = nullptr; @@ -313,6 +343,24 @@ const uint32_t TableStruct_substrait_2fparameterized_5ftypes_2eproto::offsets[] PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedDecimal, variation_pointer_), PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedDecimal, nullability_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalDay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalDay, precision_), + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalDay, variation_pointer_), + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalDay, nullability_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalCompound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalCompound, precision_), + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalCompound, variation_pointer_), + PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedIntervalCompound, nullability_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType_ParameterizedPrecisionTimestamp, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -418,6 +466,7 @@ const uint32_t TableStruct_substrait_2fparameterized_5ftypes_2eproto::offsets[] ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::substrait::ParameterizedType, kind_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -428,15 +477,17 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 33, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedVarChar)}, { 42, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedFixedBinary)}, { 51, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedDecimal)}, - { 61, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedPrecisionTimestamp)}, - { 70, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedPrecisionTimestampTZ)}, - { 79, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedStruct)}, - { 88, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedNamedStruct)}, - { 96, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedList)}, - { 105, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedMap)}, - { 115, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedUserDefined)}, - { 124, -1, -1, sizeof(::substrait::ParameterizedType_IntegerOption)}, - { 133, -1, -1, sizeof(::substrait::ParameterizedType)}, + { 61, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedIntervalDay)}, + { 70, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedIntervalCompound)}, + { 79, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedPrecisionTimestamp)}, + { 88, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedPrecisionTimestampTZ)}, + { 97, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedStruct)}, + { 106, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedNamedStruct)}, + { 114, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedList)}, + { 123, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedMap)}, + { 133, -1, -1, sizeof(::substrait::ParameterizedType_ParameterizedUserDefined)}, + { 142, -1, -1, sizeof(::substrait::ParameterizedType_IntegerOption)}, + { 151, -1, -1, sizeof(::substrait::ParameterizedType)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -447,6 +498,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedVarChar_default_instance_), reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedFixedBinary_default_instance_), reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedDecimal_default_instance_), + reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedIntervalDay_default_instance_), + reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedIntervalCompound_default_instance_), reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedPrecisionTimestamp_default_instance_), reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedPrecisionTimestampTZ_default_instance_), reinterpret_cast(&::substrait::_ParameterizedType_ParameterizedStruct_default_instance_), @@ -460,7 +513,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = const char descriptor_table_protodef_substrait_2fparameterized_5ftypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n#substrait/parameterized_types.proto\022\ts" - "ubstrait\032\024substrait/type.proto\"\264\035\n\021Param" + "ubstrait\032\024substrait/type.proto\"\376 \n\021Param" "eterizedType\022\'\n\004bool\030\001 \001(\0132\027.substrait.T" "ype.BooleanH\000\022 \n\002i8\030\002 \001(\0132\022.substrait.Ty" "pe.I8H\000\022\"\n\003i16\030\003 \001(\0132\023.substrait.Type.I1" @@ -474,98 +527,109 @@ const char descriptor_table_protodef_substrait_2fparameterized_5ftypes_2eproto[] "pB\002\030\001H\000\022$\n\004date\030\020 \001(\0132\024.substrait.Type.D" "ateH\000\022$\n\004time\030\021 \001(\0132\024.substrait.Type.Tim" "eH\000\0225\n\rinterval_year\030\023 \001(\0132\034.substrait.T" - "ype.IntervalYearH\000\0223\n\014interval_day\030\024 \001(\013" - "2\033.substrait.Type.IntervalDayH\000\0227\n\014times" - "tamp_tz\030\035 \001(\0132\033.substrait.Type.Timestamp" - "TZB\002\030\001H\000\022$\n\004uuid\030 \001(\0132\024.substrait.Type." - "UUIDH\000\022I\n\nfixed_char\030\025 \001(\01323.substrait.P" - "arameterizedType.ParameterizedFixedCharH" - "\000\022D\n\007varchar\030\026 \001(\01321.substrait.Parameter" - "izedType.ParameterizedVarCharH\000\022M\n\014fixed" - "_binary\030\027 \001(\01325.substrait.ParameterizedT" - "ype.ParameterizedFixedBinaryH\000\022D\n\007decima" - "l\030\030 \001(\01321.substrait.ParameterizedType.Pa" - "rameterizedDecimalH\000\022[\n\023precision_timest" - "amp\030\" \001(\0132<.substrait.ParameterizedType." - "ParameterizedPrecisionTimestampH\000\022`\n\026pre" - "cision_timestamp_tz\030# \001(\0132>.substrait.Pa" - "rameterizedType.ParameterizedPrecisionTi" - "mestampTZH\000\022B\n\006struct\030\031 \001(\01320.substrait." - "ParameterizedType.ParameterizedStructH\000\022" - ">\n\004list\030\033 \001(\0132..substrait.ParameterizedT" - "ype.ParameterizedListH\000\022<\n\003map\030\034 \001(\0132-.s" - "ubstrait.ParameterizedType.Parameterized" - "MapH\000\022M\n\014user_defined\030\036 \001(\01325.substrait." - "ParameterizedType.ParameterizedUserDefin" - "edH\000\022\"\n\024user_defined_pointer\030\037 \001(\rB\002\030\001H\000" - "\022D\n\016type_parameter\030! \001(\0132*.substrait.Par" - "ameterizedType.TypeParameterH\000\032K\n\rTypePa" - "rameter\022\014\n\004name\030\001 \001(\t\022,\n\006bounds\030\002 \003(\0132\034." - "substrait.ParameterizedType\032\270\001\n\020IntegerP" - "arameter\022\014\n\004name\030\001 \001(\t\022K\n\025range_start_in" - "clusive\030\002 \001(\0132,.substrait.ParameterizedT" - "ype.NullableInteger\022I\n\023range_end_exclusi" - "ve\030\003 \001(\0132,.substrait.ParameterizedType.N" - "ullableInteger\032 \n\017NullableInteger\022\r\n\005val" - "ue\030\001 \001(\003\032\241\001\n\026ParameterizedFixedChar\022:\n\006l" - "ength\030\001 \001(\0132*.substrait.ParameterizedTyp" - "e.IntegerOption\022\031\n\021variation_pointer\030\002 \001" - "(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Type" - ".Nullability\032\237\001\n\024ParameterizedVarChar\022:\n" - "\006length\030\001 \001(\0132*.substrait.ParameterizedT" - "ype.IntegerOption\022\031\n\021variation_pointer\030\002" - " \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Ty" - "pe.Nullability\032\243\001\n\030ParameterizedFixedBin" - "ary\022:\n\006length\030\001 \001(\0132*.substrait.Paramete" - "rizedType.IntegerOption\022\031\n\021variation_poi" - "nter\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substr" - "ait.Type.Nullability\032\335\001\n\024ParameterizedDe" - "cimal\0229\n\005scale\030\001 \001(\0132*.substrait.Paramet" - "erizedType.IntegerOption\022=\n\tprecision\030\002 " - "\001(\0132*.substrait.ParameterizedType.Intege" - "rOption\022\031\n\021variation_pointer\030\003 \001(\r\0220\n\013nu" - "llability\030\004 \001(\0162\033.substrait.Type.Nullabi" - "lity\032\255\001\n\037ParameterizedPrecisionTimestamp" - "\022=\n\tprecision\030\001 \001(\0132*.substrait.Paramete" - "rizedType.IntegerOption\022\031\n\021variation_poi" - "nter\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substr" - "ait.Type.Nullability\032\257\001\n!ParameterizedPr" - "ecisionTimestampTZ\022=\n\tprecision\030\001 \001(\0132*." + "ype.IntervalYearH\000\022M\n\014interval_day\030\024 \001(\013" + "25.substrait.ParameterizedType.Parameter" + "izedIntervalDayH\000\022W\n\021interval_compound\030$" + " \001(\0132:.substrait.ParameterizedType.Param" + "eterizedIntervalCompoundH\000\0227\n\014timestamp_" + "tz\030\035 \001(\0132\033.substrait.Type.TimestampTZB\002\030" + "\001H\000\022$\n\004uuid\030 \001(\0132\024.substrait.Type.UUIDH" + "\000\022I\n\nfixed_char\030\025 \001(\01323.substrait.Parame" + "terizedType.ParameterizedFixedCharH\000\022D\n\007" + "varchar\030\026 \001(\01321.substrait.ParameterizedT" + "ype.ParameterizedVarCharH\000\022M\n\014fixed_bina" + "ry\030\027 \001(\01325.substrait.ParameterizedType.P" + "arameterizedFixedBinaryH\000\022D\n\007decimal\030\030 \001" + "(\01321.substrait.ParameterizedType.Paramet" + "erizedDecimalH\000\022[\n\023precision_timestamp\030\"" + " \001(\0132<.substrait.ParameterizedType.Param" + "eterizedPrecisionTimestampH\000\022`\n\026precisio" + "n_timestamp_tz\030# \001(\0132>.substrait.Paramet" + "erizedType.ParameterizedPrecisionTimesta" + "mpTZH\000\022B\n\006struct\030\031 \001(\01320.substrait.Param" + "eterizedType.ParameterizedStructH\000\022>\n\004li" + "st\030\033 \001(\0132..substrait.ParameterizedType.P" + "arameterizedListH\000\022<\n\003map\030\034 \001(\0132-.substr" + "ait.ParameterizedType.ParameterizedMapH\000" + "\022M\n\014user_defined\030\036 \001(\01325.substrait.Param" + "eterizedType.ParameterizedUserDefinedH\000\022" + "\"\n\024user_defined_pointer\030\037 \001(\rB\002\030\001H\000\022D\n\016t" + "ype_parameter\030! \001(\0132*.substrait.Paramete" + "rizedType.TypeParameterH\000\032K\n\rTypeParamet" + "er\022\014\n\004name\030\001 \001(\t\022,\n\006bounds\030\002 \003(\0132\034.subst" + "rait.ParameterizedType\032\270\001\n\020IntegerParame" + "ter\022\014\n\004name\030\001 \001(\t\022K\n\025range_start_inclusi" + "ve\030\002 \001(\0132,.substrait.ParameterizedType.N" + "ullableInteger\022I\n\023range_end_exclusive\030\003 " + "\001(\0132,.substrait.ParameterizedType.Nullab" + "leInteger\032 \n\017NullableInteger\022\r\n\005value\030\001 " + "\001(\003\032\241\001\n\026ParameterizedFixedChar\022:\n\006length" + "\030\001 \001(\0132*.substrait.ParameterizedType.Int" + "egerOption\022\031\n\021variation_pointer\030\002 \001(\r\0220\n" + "\013nullability\030\003 \001(\0162\033.substrait.Type.Null" + "ability\032\237\001\n\024ParameterizedVarChar\022:\n\006leng" + "th\030\001 \001(\0132*.substrait.ParameterizedType.I" + "ntegerOption\022\031\n\021variation_pointer\030\002 \001(\r\022" + "0\n\013nullability\030\003 \001(\0162\033.substrait.Type.Nu" + "llability\032\243\001\n\030ParameterizedFixedBinary\022:" + "\n\006length\030\001 \001(\0132*.substrait.Parameterized" + "Type.IntegerOption\022\031\n\021variation_pointer\030" + "\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.T" + "ype.Nullability\032\335\001\n\024ParameterizedDecimal" + "\0229\n\005scale\030\001 \001(\0132*.substrait.Parameterize" + "dType.IntegerOption\022=\n\tprecision\030\002 \001(\0132*" + ".substrait.ParameterizedType.IntegerOpti" + "on\022\031\n\021variation_pointer\030\003 \001(\r\0220\n\013nullabi" + "lity\030\004 \001(\0162\033.substrait.Type.Nullability\032" + "\246\001\n\030ParameterizedIntervalDay\022=\n\tprecisio" + "n\030\001 \001(\0132*.substrait.ParameterizedType.In" + "tegerOption\022\031\n\021variation_pointer\030\002 \001(\r\0220" + "\n\013nullability\030\003 \001(\0162\033.substrait.Type.Nul" + "lability\032\253\001\n\035ParameterizedIntervalCompou" + "nd\022=\n\tprecision\030\001 \001(\0132*.substrait.Parame" + "terizedType.IntegerOption\022\031\n\021variation_p" + "ointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.subs" + "trait.Type.Nullability\032\255\001\n\037Parameterized" + "PrecisionTimestamp\022=\n\tprecision\030\001 \001(\0132*." "substrait.ParameterizedType.IntegerOptio" "n\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nullabil" - "ity\030\003 \001(\0162\033.substrait.Type.Nullability\032\217" - "\001\n\023ParameterizedStruct\022+\n\005types\030\001 \003(\0132\034." - "substrait.ParameterizedType\022\031\n\021variation" - "_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.su" - "bstrait.Type.Nullability\032k\n\030Parameterize" - "dNamedStruct\022\r\n\005names\030\001 \003(\t\022@\n\006struct\030\002 " - "\001(\01320.substrait.ParameterizedType.Parame" - "terizedStruct\032\214\001\n\021ParameterizedList\022*\n\004t" - "ype\030\001 \001(\0132\034.substrait.ParameterizedType\022" - "\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nullabilit" - "y\030\003 \001(\0162\033.substrait.Type.Nullability\032\267\001\n" - "\020ParameterizedMap\022)\n\003key\030\001 \001(\0132\034.substra" - "it.ParameterizedType\022+\n\005value\030\002 \001(\0132\034.su" - "bstrait.ParameterizedType\022\031\n\021variation_p" - "ointer\030\003 \001(\r\0220\n\013nullability\030\004 \001(\0162\033.subs" - "trait.Type.Nullability\032}\n\030ParameterizedU" - "serDefined\022\024\n\014type_pointer\030\001 \001(\r\022\031\n\021vari" - "ation_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\016" - "2\033.substrait.Type.Nullability\032v\n\rInteger" - "Option\022\021\n\007literal\030\001 \001(\005H\000\022B\n\tparameter\030\002" - " \001(\0132-.substrait.ParameterizedType.Integ" - "erParameterH\000B\016\n\014integer_typeB\006\n\004kindBW\n" - "\022io.substrait.protoP\001Z*github.com/substr" - "ait-io/substrait-go/proto\252\002\022Substrait.Pr" - "otobufb\006proto3" + "ity\030\003 \001(\0162\033.substrait.Type.Nullability\032\257" + "\001\n!ParameterizedPrecisionTimestampTZ\022=\n\t" + "precision\030\001 \001(\0132*.substrait.Parameterize" + "dType.IntegerOption\022\031\n\021variation_pointer" + "\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait." + "Type.Nullability\032\217\001\n\023ParameterizedStruct" + "\022+\n\005types\030\001 \003(\0132\034.substrait.Parameterize" + "dType\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013null" + "ability\030\003 \001(\0162\033.substrait.Type.Nullabili" + "ty\032k\n\030ParameterizedNamedStruct\022\r\n\005names\030" + "\001 \003(\t\022@\n\006struct\030\002 \001(\01320.substrait.Parame" + "terizedType.ParameterizedStruct\032\214\001\n\021Para" + "meterizedList\022*\n\004type\030\001 \001(\0132\034.substrait." + "ParameterizedType\022\031\n\021variation_pointer\030\002" + " \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Ty" + "pe.Nullability\032\267\001\n\020ParameterizedMap\022)\n\003k" + "ey\030\001 \001(\0132\034.substrait.ParameterizedType\022+" + "\n\005value\030\002 \001(\0132\034.substrait.ParameterizedT" + "ype\022\031\n\021variation_pointer\030\003 \001(\r\0220\n\013nullab" + "ility\030\004 \001(\0162\033.substrait.Type.Nullability" + "\032}\n\030ParameterizedUserDefined\022\024\n\014type_poi" + "nter\030\001 \001(\r\022\031\n\021variation_pointer\030\002 \001(\r\0220\n" + "\013nullability\030\003 \001(\0162\033.substrait.Type.Null" + "ability\032v\n\rIntegerOption\022\021\n\007literal\030\001 \001(" + "\005H\000\022B\n\tparameter\030\002 \001(\0132-.substrait.Param" + "eterizedType.IntegerParameterH\000B\016\n\014integ" + "er_typeB\006\n\004kindBW\n\022io.substrait.protoP\001Z" + "*github.com/substrait-io/substrait-go/pr" + "oto\252\002\022Substrait.Protobufb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_substrait_2fparameterized_5ftypes_2eproto_deps[1] = { &::descriptor_table_substrait_2ftype_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_substrait_2fparameterized_5ftypes_2eproto = { - false, false, 3934, descriptor_table_protodef_substrait_2fparameterized_5ftypes_2eproto, "substrait/parameterized_types.proto", - &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, descriptor_table_substrait_2fparameterized_5ftypes_2eproto_deps, 1, 16, + false, false, 4392, descriptor_table_protodef_substrait_2fparameterized_5ftypes_2eproto, "substrait/parameterized_types.proto", + &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, descriptor_table_substrait_2fparameterized_5ftypes_2eproto_deps, 1, 18, schemas, file_default_instances, TableStruct_substrait_2fparameterized_5ftypes_2eproto::offsets, file_level_metadata_substrait_2fparameterized_5ftypes_2eproto, file_level_enum_descriptors_substrait_2fparameterized_5ftypes_2eproto, file_level_service_descriptors_substrait_2fparameterized_5ftypes_2eproto, }; @@ -1795,98 +1859,651 @@ void ParameterizedType_ParameterizedVarChar::InternalSwap(ParameterizedType_Para ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedVarChar::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[4]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[4]); +} + +// =================================================================== + +class ParameterizedType_ParameterizedFixedBinary::_Internal { + public: + static const ::substrait::ParameterizedType_IntegerOption& length(const ParameterizedType_ParameterizedFixedBinary* msg); +}; + +const ::substrait::ParameterizedType_IntegerOption& +ParameterizedType_ParameterizedFixedBinary::_Internal::length(const ParameterizedType_ParameterizedFixedBinary* msg) { + return *msg->length_; +} +ParameterizedType_ParameterizedFixedBinary::ParameterizedType_ParameterizedFixedBinary(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedFixedBinary) +} +ParameterizedType_ParameterizedFixedBinary::ParameterizedType_ParameterizedFixedBinary(const ParameterizedType_ParameterizedFixedBinary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_length()) { + length_ = new ::substrait::ParameterizedType_IntegerOption(*from.length_); + } else { + length_ = nullptr; + } + ::memcpy(&variation_pointer_, &from.variation_pointer_, + static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedFixedBinary) +} + +inline void ParameterizedType_ParameterizedFixedBinary::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&length_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&length_)) + sizeof(nullability_)); +} + +ParameterizedType_ParameterizedFixedBinary::~ParameterizedType_ParameterizedFixedBinary() { + // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedFixedBinary) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void ParameterizedType_ParameterizedFixedBinary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete length_; +} + +void ParameterizedType_ParameterizedFixedBinary::ArenaDtor(void* object) { + ParameterizedType_ParameterizedFixedBinary* _this = reinterpret_cast< ParameterizedType_ParameterizedFixedBinary* >(object); + (void)_this; +} +void ParameterizedType_ParameterizedFixedBinary::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ParameterizedType_ParameterizedFixedBinary::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ParameterizedType_ParameterizedFixedBinary::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedFixedBinary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && length_ != nullptr) { + delete length_; + } + length_ = nullptr; + ::memset(&variation_pointer_, 0, static_cast( + reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ParameterizedType_ParameterizedFixedBinary::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.ParameterizedType.IntegerOption length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_length(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 variation_pointer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Type.Nullability nullability = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ParameterizedType_ParameterizedFixedBinary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedFixedBinary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .substrait.ParameterizedType.IntegerOption length = 1; + if (this->_internal_has_length()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::length(this), target, stream); + } + + // uint32 variation_pointer = 2; + if (this->_internal_variation_pointer() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_variation_pointer(), target); + } + + // .substrait.Type.Nullability nullability = 3; + if (this->_internal_nullability() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 3, this->_internal_nullability(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedFixedBinary) + return target; +} + +size_t ParameterizedType_ParameterizedFixedBinary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedFixedBinary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .substrait.ParameterizedType.IntegerOption length = 1; + if (this->_internal_has_length()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *length_); + } + + // uint32 variation_pointer = 2; + if (this->_internal_variation_pointer() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); + } + + // .substrait.Type.Nullability nullability = 3; + if (this->_internal_nullability() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedFixedBinary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ParameterizedType_ParameterizedFixedBinary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedFixedBinary::GetClassData() const { return &_class_data_; } + +void ParameterizedType_ParameterizedFixedBinary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ParameterizedType_ParameterizedFixedBinary::MergeFrom(const ParameterizedType_ParameterizedFixedBinary& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedFixedBinary) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_length()) { + _internal_mutable_length()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_length()); + } + if (from._internal_variation_pointer() != 0) { + _internal_set_variation_pointer(from._internal_variation_pointer()); + } + if (from._internal_nullability() != 0) { + _internal_set_nullability(from._internal_nullability()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ParameterizedType_ParameterizedFixedBinary::CopyFrom(const ParameterizedType_ParameterizedFixedBinary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedFixedBinary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ParameterizedType_ParameterizedFixedBinary::IsInitialized() const { + return true; +} + +void ParameterizedType_ParameterizedFixedBinary::InternalSwap(ParameterizedType_ParameterizedFixedBinary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedFixedBinary, nullability_) + + sizeof(ParameterizedType_ParameterizedFixedBinary::nullability_) + - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedFixedBinary, length_)>( + reinterpret_cast(&length_), + reinterpret_cast(&other->length_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedFixedBinary::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[5]); +} + +// =================================================================== + +class ParameterizedType_ParameterizedDecimal::_Internal { + public: + static const ::substrait::ParameterizedType_IntegerOption& scale(const ParameterizedType_ParameterizedDecimal* msg); + static const ::substrait::ParameterizedType_IntegerOption& precision(const ParameterizedType_ParameterizedDecimal* msg); +}; + +const ::substrait::ParameterizedType_IntegerOption& +ParameterizedType_ParameterizedDecimal::_Internal::scale(const ParameterizedType_ParameterizedDecimal* msg) { + return *msg->scale_; +} +const ::substrait::ParameterizedType_IntegerOption& +ParameterizedType_ParameterizedDecimal::_Internal::precision(const ParameterizedType_ParameterizedDecimal* msg) { + return *msg->precision_; +} +ParameterizedType_ParameterizedDecimal::ParameterizedType_ParameterizedDecimal(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedDecimal) +} +ParameterizedType_ParameterizedDecimal::ParameterizedType_ParameterizedDecimal(const ParameterizedType_ParameterizedDecimal& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_scale()) { + scale_ = new ::substrait::ParameterizedType_IntegerOption(*from.scale_); + } else { + scale_ = nullptr; + } + if (from._internal_has_precision()) { + precision_ = new ::substrait::ParameterizedType_IntegerOption(*from.precision_); + } else { + precision_ = nullptr; + } + ::memcpy(&variation_pointer_, &from.variation_pointer_, + static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedDecimal) +} + +inline void ParameterizedType_ParameterizedDecimal::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&scale_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&scale_)) + sizeof(nullability_)); +} + +ParameterizedType_ParameterizedDecimal::~ParameterizedType_ParameterizedDecimal() { + // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedDecimal) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void ParameterizedType_ParameterizedDecimal::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete scale_; + if (this != internal_default_instance()) delete precision_; +} + +void ParameterizedType_ParameterizedDecimal::ArenaDtor(void* object) { + ParameterizedType_ParameterizedDecimal* _this = reinterpret_cast< ParameterizedType_ParameterizedDecimal* >(object); + (void)_this; +} +void ParameterizedType_ParameterizedDecimal::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ParameterizedType_ParameterizedDecimal::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ParameterizedType_ParameterizedDecimal::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedDecimal) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && scale_ != nullptr) { + delete scale_; + } + scale_ = nullptr; + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; + ::memset(&variation_pointer_, 0, static_cast( + reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ParameterizedType_ParameterizedDecimal::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.ParameterizedType.IntegerOption scale = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_scale(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.ParameterizedType.IntegerOption precision = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 variation_pointer = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Type.Nullability nullability = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ParameterizedType_ParameterizedDecimal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedDecimal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .substrait.ParameterizedType.IntegerOption scale = 1; + if (this->_internal_has_scale()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::scale(this), target, stream); + } + + // .substrait.ParameterizedType.IntegerOption precision = 2; + if (this->_internal_has_precision()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::precision(this), target, stream); + } + + // uint32 variation_pointer = 3; + if (this->_internal_variation_pointer() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_variation_pointer(), target); + } + + // .substrait.Type.Nullability nullability = 4; + if (this->_internal_nullability() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 4, this->_internal_nullability(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedDecimal) + return target; +} + +size_t ParameterizedType_ParameterizedDecimal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedDecimal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .substrait.ParameterizedType.IntegerOption scale = 1; + if (this->_internal_has_scale()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *scale_); + } + + // .substrait.ParameterizedType.IntegerOption precision = 2; + if (this->_internal_has_precision()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *precision_); + } + + // uint32 variation_pointer = 3; + if (this->_internal_variation_pointer() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); + } + + // .substrait.Type.Nullability nullability = 4; + if (this->_internal_nullability() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedDecimal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ParameterizedType_ParameterizedDecimal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedDecimal::GetClassData() const { return &_class_data_; } + +void ParameterizedType_ParameterizedDecimal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ParameterizedType_ParameterizedDecimal::MergeFrom(const ParameterizedType_ParameterizedDecimal& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedDecimal) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_scale()) { + _internal_mutable_scale()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_scale()); + } + if (from._internal_has_precision()) { + _internal_mutable_precision()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_precision()); + } + if (from._internal_variation_pointer() != 0) { + _internal_set_variation_pointer(from._internal_variation_pointer()); + } + if (from._internal_nullability() != 0) { + _internal_set_nullability(from._internal_nullability()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ParameterizedType_ParameterizedDecimal::CopyFrom(const ParameterizedType_ParameterizedDecimal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedDecimal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ParameterizedType_ParameterizedDecimal::IsInitialized() const { + return true; +} + +void ParameterizedType_ParameterizedDecimal::InternalSwap(ParameterizedType_ParameterizedDecimal* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedDecimal, nullability_) + + sizeof(ParameterizedType_ParameterizedDecimal::nullability_) + - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedDecimal, scale_)>( + reinterpret_cast(&scale_), + reinterpret_cast(&other->scale_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedDecimal::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[6]); } // =================================================================== -class ParameterizedType_ParameterizedFixedBinary::_Internal { +class ParameterizedType_ParameterizedIntervalDay::_Internal { public: - static const ::substrait::ParameterizedType_IntegerOption& length(const ParameterizedType_ParameterizedFixedBinary* msg); + static const ::substrait::ParameterizedType_IntegerOption& precision(const ParameterizedType_ParameterizedIntervalDay* msg); }; const ::substrait::ParameterizedType_IntegerOption& -ParameterizedType_ParameterizedFixedBinary::_Internal::length(const ParameterizedType_ParameterizedFixedBinary* msg) { - return *msg->length_; +ParameterizedType_ParameterizedIntervalDay::_Internal::precision(const ParameterizedType_ParameterizedIntervalDay* msg) { + return *msg->precision_; } -ParameterizedType_ParameterizedFixedBinary::ParameterizedType_ParameterizedFixedBinary(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ParameterizedType_ParameterizedIntervalDay::ParameterizedType_ParameterizedIntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedFixedBinary) + // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedIntervalDay) } -ParameterizedType_ParameterizedFixedBinary::ParameterizedType_ParameterizedFixedBinary(const ParameterizedType_ParameterizedFixedBinary& from) +ParameterizedType_ParameterizedIntervalDay::ParameterizedType_ParameterizedIntervalDay(const ParameterizedType_ParameterizedIntervalDay& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_length()) { - length_ = new ::substrait::ParameterizedType_IntegerOption(*from.length_); + if (from._internal_has_precision()) { + precision_ = new ::substrait::ParameterizedType_IntegerOption(*from.precision_); } else { - length_ = nullptr; + precision_ = nullptr; } ::memcpy(&variation_pointer_, &from.variation_pointer_, static_cast(reinterpret_cast(&nullability_) - reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); - // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedFixedBinary) + // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedIntervalDay) } -inline void ParameterizedType_ParameterizedFixedBinary::SharedCtor() { +inline void ParameterizedType_ParameterizedIntervalDay::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&length_) - reinterpret_cast(this)), + reinterpret_cast(&precision_) - reinterpret_cast(this)), 0, static_cast(reinterpret_cast(&nullability_) - - reinterpret_cast(&length_)) + sizeof(nullability_)); + reinterpret_cast(&precision_)) + sizeof(nullability_)); } -ParameterizedType_ParameterizedFixedBinary::~ParameterizedType_ParameterizedFixedBinary() { - // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedFixedBinary) +ParameterizedType_ParameterizedIntervalDay::~ParameterizedType_ParameterizedIntervalDay() { + // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedIntervalDay) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void ParameterizedType_ParameterizedFixedBinary::SharedDtor() { +inline void ParameterizedType_ParameterizedIntervalDay::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete length_; + if (this != internal_default_instance()) delete precision_; } -void ParameterizedType_ParameterizedFixedBinary::ArenaDtor(void* object) { - ParameterizedType_ParameterizedFixedBinary* _this = reinterpret_cast< ParameterizedType_ParameterizedFixedBinary* >(object); +void ParameterizedType_ParameterizedIntervalDay::ArenaDtor(void* object) { + ParameterizedType_ParameterizedIntervalDay* _this = reinterpret_cast< ParameterizedType_ParameterizedIntervalDay* >(object); (void)_this; } -void ParameterizedType_ParameterizedFixedBinary::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ParameterizedType_ParameterizedIntervalDay::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void ParameterizedType_ParameterizedFixedBinary::SetCachedSize(int size) const { +void ParameterizedType_ParameterizedIntervalDay::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ParameterizedType_ParameterizedFixedBinary::Clear() { -// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedFixedBinary) +void ParameterizedType_ParameterizedIntervalDay::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedIntervalDay) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && length_ != nullptr) { - delete length_; + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; } - length_ = nullptr; + precision_ = nullptr; ::memset(&variation_pointer_, 0, static_cast( reinterpret_cast(&nullability_) - reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ParameterizedType_ParameterizedFixedBinary::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ParameterizedType_ParameterizedIntervalDay::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .substrait.ParameterizedType.IntegerOption length = 1; + // .substrait.ParameterizedType.IntegerOption precision = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_length(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -1931,18 +2548,18 @@ const char* ParameterizedType_ParameterizedFixedBinary::_InternalParse(const cha #undef CHK_ } -uint8_t* ParameterizedType_ParameterizedFixedBinary::_InternalSerialize( +uint8_t* ParameterizedType_ParameterizedIntervalDay::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedFixedBinary) + // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedIntervalDay) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .substrait.ParameterizedType.IntegerOption length = 1; - if (this->_internal_has_length()) { + // .substrait.ParameterizedType.IntegerOption precision = 1; + if (this->_internal_has_precision()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 1, _Internal::length(this), target, stream); + 1, _Internal::precision(this), target, stream); } // uint32 variation_pointer = 2; @@ -1962,23 +2579,23 @@ uint8_t* ParameterizedType_ParameterizedFixedBinary::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedFixedBinary) + // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedIntervalDay) return target; } -size_t ParameterizedType_ParameterizedFixedBinary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedFixedBinary) +size_t ParameterizedType_ParameterizedIntervalDay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedIntervalDay) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .substrait.ParameterizedType.IntegerOption length = 1; - if (this->_internal_has_length()) { + // .substrait.ParameterizedType.IntegerOption precision = 1; + if (this->_internal_has_precision()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *length_); + *precision_); } // uint32 variation_pointer = 2; @@ -1995,27 +2612,27 @@ size_t ParameterizedType_ParameterizedFixedBinary::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedFixedBinary::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedIntervalDay::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ParameterizedType_ParameterizedFixedBinary::MergeImpl + ParameterizedType_ParameterizedIntervalDay::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedFixedBinary::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedIntervalDay::GetClassData() const { return &_class_data_; } -void ParameterizedType_ParameterizedFixedBinary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ParameterizedType_ParameterizedIntervalDay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ParameterizedType_ParameterizedFixedBinary::MergeFrom(const ParameterizedType_ParameterizedFixedBinary& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedFixedBinary) +void ParameterizedType_ParameterizedIntervalDay::MergeFrom(const ParameterizedType_ParameterizedIntervalDay& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedIntervalDay) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_length()) { - _internal_mutable_length()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_length()); + if (from._internal_has_precision()) { + _internal_mutable_precision()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_precision()); } if (from._internal_variation_pointer() != 0) { _internal_set_variation_pointer(from._internal_variation_pointer()); @@ -2026,67 +2643,57 @@ void ParameterizedType_ParameterizedFixedBinary::MergeFrom(const ParameterizedTy _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ParameterizedType_ParameterizedFixedBinary::CopyFrom(const ParameterizedType_ParameterizedFixedBinary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedFixedBinary) +void ParameterizedType_ParameterizedIntervalDay::CopyFrom(const ParameterizedType_ParameterizedIntervalDay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedIntervalDay) if (&from == this) return; Clear(); MergeFrom(from); } -bool ParameterizedType_ParameterizedFixedBinary::IsInitialized() const { +bool ParameterizedType_ParameterizedIntervalDay::IsInitialized() const { return true; } -void ParameterizedType_ParameterizedFixedBinary::InternalSwap(ParameterizedType_ParameterizedFixedBinary* other) { +void ParameterizedType_ParameterizedIntervalDay::InternalSwap(ParameterizedType_ParameterizedIntervalDay* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedFixedBinary, nullability_) - + sizeof(ParameterizedType_ParameterizedFixedBinary::nullability_) - - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedFixedBinary, length_)>( - reinterpret_cast(&length_), - reinterpret_cast(&other->length_)); + PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedIntervalDay, nullability_) + + sizeof(ParameterizedType_ParameterizedIntervalDay::nullability_) + - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedIntervalDay, precision_)>( + reinterpret_cast(&precision_), + reinterpret_cast(&other->precision_)); } -::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedFixedBinary::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedIntervalDay::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[5]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[7]); } // =================================================================== -class ParameterizedType_ParameterizedDecimal::_Internal { +class ParameterizedType_ParameterizedIntervalCompound::_Internal { public: - static const ::substrait::ParameterizedType_IntegerOption& scale(const ParameterizedType_ParameterizedDecimal* msg); - static const ::substrait::ParameterizedType_IntegerOption& precision(const ParameterizedType_ParameterizedDecimal* msg); + static const ::substrait::ParameterizedType_IntegerOption& precision(const ParameterizedType_ParameterizedIntervalCompound* msg); }; const ::substrait::ParameterizedType_IntegerOption& -ParameterizedType_ParameterizedDecimal::_Internal::scale(const ParameterizedType_ParameterizedDecimal* msg) { - return *msg->scale_; -} -const ::substrait::ParameterizedType_IntegerOption& -ParameterizedType_ParameterizedDecimal::_Internal::precision(const ParameterizedType_ParameterizedDecimal* msg) { +ParameterizedType_ParameterizedIntervalCompound::_Internal::precision(const ParameterizedType_ParameterizedIntervalCompound* msg) { return *msg->precision_; } -ParameterizedType_ParameterizedDecimal::ParameterizedType_ParameterizedDecimal(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ParameterizedType_ParameterizedIntervalCompound::ParameterizedType_ParameterizedIntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedDecimal) + // @@protoc_insertion_point(arena_constructor:substrait.ParameterizedType.ParameterizedIntervalCompound) } -ParameterizedType_ParameterizedDecimal::ParameterizedType_ParameterizedDecimal(const ParameterizedType_ParameterizedDecimal& from) +ParameterizedType_ParameterizedIntervalCompound::ParameterizedType_ParameterizedIntervalCompound(const ParameterizedType_ParameterizedIntervalCompound& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_scale()) { - scale_ = new ::substrait::ParameterizedType_IntegerOption(*from.scale_); - } else { - scale_ = nullptr; - } if (from._internal_has_precision()) { precision_ = new ::substrait::ParameterizedType_IntegerOption(*from.precision_); } else { @@ -2095,49 +2702,44 @@ ParameterizedType_ParameterizedDecimal::ParameterizedType_ParameterizedDecimal(c ::memcpy(&variation_pointer_, &from.variation_pointer_, static_cast(reinterpret_cast(&nullability_) - reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); - // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedDecimal) + // @@protoc_insertion_point(copy_constructor:substrait.ParameterizedType.ParameterizedIntervalCompound) } -inline void ParameterizedType_ParameterizedDecimal::SharedCtor() { +inline void ParameterizedType_ParameterizedIntervalCompound::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&scale_) - reinterpret_cast(this)), + reinterpret_cast(&precision_) - reinterpret_cast(this)), 0, static_cast(reinterpret_cast(&nullability_) - - reinterpret_cast(&scale_)) + sizeof(nullability_)); + reinterpret_cast(&precision_)) + sizeof(nullability_)); } -ParameterizedType_ParameterizedDecimal::~ParameterizedType_ParameterizedDecimal() { - // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedDecimal) +ParameterizedType_ParameterizedIntervalCompound::~ParameterizedType_ParameterizedIntervalCompound() { + // @@protoc_insertion_point(destructor:substrait.ParameterizedType.ParameterizedIntervalCompound) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void ParameterizedType_ParameterizedDecimal::SharedDtor() { +inline void ParameterizedType_ParameterizedIntervalCompound::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete scale_; if (this != internal_default_instance()) delete precision_; } -void ParameterizedType_ParameterizedDecimal::ArenaDtor(void* object) { - ParameterizedType_ParameterizedDecimal* _this = reinterpret_cast< ParameterizedType_ParameterizedDecimal* >(object); +void ParameterizedType_ParameterizedIntervalCompound::ArenaDtor(void* object) { + ParameterizedType_ParameterizedIntervalCompound* _this = reinterpret_cast< ParameterizedType_ParameterizedIntervalCompound* >(object); (void)_this; } -void ParameterizedType_ParameterizedDecimal::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ParameterizedType_ParameterizedIntervalCompound::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void ParameterizedType_ParameterizedDecimal::SetCachedSize(int size) const { +void ParameterizedType_ParameterizedIntervalCompound::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ParameterizedType_ParameterizedDecimal::Clear() { -// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedDecimal) +void ParameterizedType_ParameterizedIntervalCompound::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.ParameterizedType.ParameterizedIntervalCompound) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && scale_ != nullptr) { - delete scale_; - } - scale_ = nullptr; if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { delete precision_; } @@ -2148,39 +2750,31 @@ void ParameterizedType_ParameterizedDecimal::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ParameterizedType_ParameterizedDecimal::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ParameterizedType_ParameterizedIntervalCompound::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .substrait.ParameterizedType.IntegerOption scale = 1; + // .substrait.ParameterizedType.IntegerOption precision = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_scale(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .substrait.ParameterizedType.IntegerOption precision = 2; + // uint32 variation_pointer = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // uint32 variation_pointer = 3; + // .substrait.Type.Nullability nullability = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .substrait.Type.Nullability nullability = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); @@ -2210,77 +2804,62 @@ const char* ParameterizedType_ParameterizedDecimal::_InternalParse(const char* p #undef CHK_ } -uint8_t* ParameterizedType_ParameterizedDecimal::_InternalSerialize( +uint8_t* ParameterizedType_ParameterizedIntervalCompound::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedDecimal) + // @@protoc_insertion_point(serialize_to_array_start:substrait.ParameterizedType.ParameterizedIntervalCompound) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .substrait.ParameterizedType.IntegerOption scale = 1; - if (this->_internal_has_scale()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::scale(this), target, stream); - } - - // .substrait.ParameterizedType.IntegerOption precision = 2; + // .substrait.ParameterizedType.IntegerOption precision = 1; if (this->_internal_has_precision()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::precision(this), target, stream); + 1, _Internal::precision(this), target, stream); } - // uint32 variation_pointer = 3; + // uint32 variation_pointer = 2; if (this->_internal_variation_pointer() != 0) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_variation_pointer(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_variation_pointer(), target); } - // .substrait.Type.Nullability nullability = 4; + // .substrait.Type.Nullability nullability = 3; if (this->_internal_nullability() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_nullability(), target); + 3, this->_internal_nullability(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedDecimal) + // @@protoc_insertion_point(serialize_to_array_end:substrait.ParameterizedType.ParameterizedIntervalCompound) return target; } -size_t ParameterizedType_ParameterizedDecimal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedDecimal) +size_t ParameterizedType_ParameterizedIntervalCompound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.ParameterizedType.ParameterizedIntervalCompound) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .substrait.ParameterizedType.IntegerOption scale = 1; - if (this->_internal_has_scale()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *scale_); - } - - // .substrait.ParameterizedType.IntegerOption precision = 2; + // .substrait.ParameterizedType.IntegerOption precision = 1; if (this->_internal_has_precision()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *precision_); } - // uint32 variation_pointer = 3; + // uint32 variation_pointer = 2; if (this->_internal_variation_pointer() != 0) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); } - // .substrait.Type.Nullability nullability = 4; + // .substrait.Type.Nullability nullability = 3; if (this->_internal_nullability() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); @@ -2289,28 +2868,25 @@ size_t ParameterizedType_ParameterizedDecimal::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedDecimal::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ParameterizedType_ParameterizedIntervalCompound::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ParameterizedType_ParameterizedDecimal::MergeImpl + ParameterizedType_ParameterizedIntervalCompound::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedDecimal::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ParameterizedType_ParameterizedIntervalCompound::GetClassData() const { return &_class_data_; } -void ParameterizedType_ParameterizedDecimal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ParameterizedType_ParameterizedIntervalCompound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ParameterizedType_ParameterizedDecimal::MergeFrom(const ParameterizedType_ParameterizedDecimal& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedDecimal) +void ParameterizedType_ParameterizedIntervalCompound::MergeFrom(const ParameterizedType_ParameterizedIntervalCompound& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.ParameterizedType.ParameterizedIntervalCompound) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_scale()) { - _internal_mutable_scale()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_scale()); - } if (from._internal_has_precision()) { _internal_mutable_precision()->::substrait::ParameterizedType_IntegerOption::MergeFrom(from._internal_precision()); } @@ -2323,32 +2899,32 @@ void ParameterizedType_ParameterizedDecimal::MergeFrom(const ParameterizedType_P _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ParameterizedType_ParameterizedDecimal::CopyFrom(const ParameterizedType_ParameterizedDecimal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedDecimal) +void ParameterizedType_ParameterizedIntervalCompound::CopyFrom(const ParameterizedType_ParameterizedIntervalCompound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.ParameterizedType.ParameterizedIntervalCompound) if (&from == this) return; Clear(); MergeFrom(from); } -bool ParameterizedType_ParameterizedDecimal::IsInitialized() const { +bool ParameterizedType_ParameterizedIntervalCompound::IsInitialized() const { return true; } -void ParameterizedType_ParameterizedDecimal::InternalSwap(ParameterizedType_ParameterizedDecimal* other) { +void ParameterizedType_ParameterizedIntervalCompound::InternalSwap(ParameterizedType_ParameterizedIntervalCompound* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedDecimal, nullability_) - + sizeof(ParameterizedType_ParameterizedDecimal::nullability_) - - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedDecimal, scale_)>( - reinterpret_cast(&scale_), - reinterpret_cast(&other->scale_)); + PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedIntervalCompound, nullability_) + + sizeof(ParameterizedType_ParameterizedIntervalCompound::nullability_) + - PROTOBUF_FIELD_OFFSET(ParameterizedType_ParameterizedIntervalCompound, precision_)>( + reinterpret_cast(&precision_), + reinterpret_cast(&other->precision_)); } -::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedDecimal::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedIntervalCompound::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[6]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[8]); } // =================================================================== @@ -2604,7 +3180,7 @@ void ParameterizedType_ParameterizedPrecisionTimestamp::InternalSwap(Parameteriz ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedPrecisionTimestamp::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[7]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[9]); } // =================================================================== @@ -2860,7 +3436,7 @@ void ParameterizedType_ParameterizedPrecisionTimestampTZ::InternalSwap(Parameter ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedPrecisionTimestampTZ::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[8]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[10]); } // =================================================================== @@ -3108,7 +3684,7 @@ void ParameterizedType_ParameterizedStruct::InternalSwap(ParameterizedType_Param ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedStruct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[9]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[11]); } // =================================================================== @@ -3341,7 +3917,7 @@ void ParameterizedType_ParameterizedNamedStruct::InternalSwap(ParameterizedType_ ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedNamedStruct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[10]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[12]); } // =================================================================== @@ -3597,7 +4173,7 @@ void ParameterizedType_ParameterizedList::InternalSwap(ParameterizedType_Paramet ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedList::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[11]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[13]); } // =================================================================== @@ -3894,7 +4470,7 @@ void ParameterizedType_ParameterizedMap::InternalSwap(ParameterizedType_Paramete ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedMap::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[12]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[14]); } // =================================================================== @@ -4131,7 +4707,7 @@ void ParameterizedType_ParameterizedUserDefined::InternalSwap(ParameterizedType_ ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_ParameterizedUserDefined::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[13]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[15]); } // =================================================================== @@ -4405,7 +4981,7 @@ void ParameterizedType_IntegerOption::InternalSwap(ParameterizedType_IntegerOpti ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType_IntegerOption::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[14]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[16]); } // =================================================================== @@ -4425,7 +5001,8 @@ class ParameterizedType::_Internal { static const ::substrait::Type_Date& date(const ParameterizedType* msg); static const ::substrait::Type_Time& time(const ParameterizedType* msg); static const ::substrait::Type_IntervalYear& interval_year(const ParameterizedType* msg); - static const ::substrait::Type_IntervalDay& interval_day(const ParameterizedType* msg); + static const ::substrait::ParameterizedType_ParameterizedIntervalDay& interval_day(const ParameterizedType* msg); + static const ::substrait::ParameterizedType_ParameterizedIntervalCompound& interval_compound(const ParameterizedType* msg); static const ::substrait::Type_TimestampTZ& timestamp_tz(const ParameterizedType* msg); static const ::substrait::Type_UUID& uuid(const ParameterizedType* msg); static const ::substrait::ParameterizedType_ParameterizedFixedChar& fixed_char(const ParameterizedType* msg); @@ -4493,10 +5070,14 @@ const ::substrait::Type_IntervalYear& ParameterizedType::_Internal::interval_year(const ParameterizedType* msg) { return *msg->kind_.interval_year_; } -const ::substrait::Type_IntervalDay& +const ::substrait::ParameterizedType_ParameterizedIntervalDay& ParameterizedType::_Internal::interval_day(const ParameterizedType* msg) { return *msg->kind_.interval_day_; } +const ::substrait::ParameterizedType_ParameterizedIntervalCompound& +ParameterizedType::_Internal::interval_compound(const ParameterizedType* msg) { + return *msg->kind_.interval_compound_; +} const ::substrait::Type_TimestampTZ& ParameterizedType::_Internal::timestamp_tz(const ParameterizedType* msg) { return *msg->kind_.timestamp_tz_; @@ -4874,14 +5455,12 @@ void ParameterizedType::clear_interval_year() { clear_has_kind(); } } -void ParameterizedType::set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day) { +void ParameterizedType::set_allocated_interval_day(::substrait::ParameterizedType_ParameterizedIntervalDay* interval_day) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); if (interval_day) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interval_day)); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::ParameterizedType_ParameterizedIntervalDay>::GetOwningArena(interval_day); if (message_arena != submessage_arena) { interval_day = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, interval_day, submessage_arena); @@ -4891,13 +5470,20 @@ void ParameterizedType::set_allocated_interval_day(::substrait::Type_IntervalDay } // @@protoc_insertion_point(field_set_allocated:substrait.ParameterizedType.interval_day) } -void ParameterizedType::clear_interval_day() { - if (_internal_has_interval_day()) { - if (GetArenaForAllocation() == nullptr) { - delete kind_.interval_day_; +void ParameterizedType::set_allocated_interval_compound(::substrait::ParameterizedType_ParameterizedIntervalCompound* interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::ParameterizedType_ParameterizedIntervalCompound>::GetOwningArena(interval_compound); + if (message_arena != submessage_arena) { + interval_compound = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_compound, submessage_arena); } - clear_has_kind(); + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; } + // @@protoc_insertion_point(field_set_allocated:substrait.ParameterizedType.interval_compound) } void ParameterizedType::set_allocated_timestamp_tz(::substrait::Type_TimestampTZ* timestamp_tz) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); @@ -5181,7 +5767,11 @@ ParameterizedType::ParameterizedType(const ParameterizedType& from) break; } case kIntervalDay: { - _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); + _internal_mutable_interval_day()->::substrait::ParameterizedType_ParameterizedIntervalDay::MergeFrom(from._internal_interval_day()); + break; + } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::ParameterizedType_ParameterizedIntervalCompound::MergeFrom(from._internal_interval_compound()); break; } case kTimestampTz: { @@ -5362,6 +5952,12 @@ void ParameterizedType::clear_kind() { } break; } + case kIntervalCompound: { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + break; + } case kTimestampTz: { if (GetArenaForAllocation() == nullptr) { delete kind_.timestamp_tz_; @@ -5572,7 +6168,7 @@ const char* ParameterizedType::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP } else goto handle_unusual; continue; - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.ParameterizedType.ParameterizedIntervalDay interval_day = 20; case 20: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { ptr = ctx->ParseMessage(_internal_mutable_interval_day(), ptr); @@ -5692,6 +6288,14 @@ const char* ParameterizedType::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP } else goto handle_unusual; continue; + // .substrait.ParameterizedType.ParameterizedIntervalCompound interval_compound = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_compound(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5825,7 +6429,7 @@ uint8_t* ParameterizedType::_InternalSerialize( 19, _Internal::interval_year(this), target, stream); } - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.ParameterizedType.ParameterizedIntervalDay interval_day = 20; if (_internal_has_interval_day()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -5943,6 +6547,14 @@ uint8_t* ParameterizedType::_InternalSerialize( 35, _Internal::precision_timestamp_tz(this), target, stream); } + // .substrait.ParameterizedType.ParameterizedIntervalCompound interval_compound = 36; + if (_internal_has_interval_compound()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 36, _Internal::interval_compound(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -6051,13 +6663,20 @@ size_t ParameterizedType::ByteSizeLong() const { *kind_.interval_year_); break; } - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.ParameterizedType.ParameterizedIntervalDay interval_day = 20; case kIntervalDay: { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *kind_.interval_day_); break; } + // .substrait.ParameterizedType.ParameterizedIntervalCompound interval_compound = 36; + case kIntervalCompound: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *kind_.interval_compound_); + break; + } // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; case kTimestampTz: { total_size += 2 + @@ -6236,7 +6855,11 @@ void ParameterizedType::MergeFrom(const ParameterizedType& from) { break; } case kIntervalDay: { - _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); + _internal_mutable_interval_day()->::substrait::ParameterizedType_ParameterizedIntervalDay::MergeFrom(from._internal_interval_day()); + break; + } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::ParameterizedType_ParameterizedIntervalCompound::MergeFrom(from._internal_interval_compound()); break; } case kTimestampTz: { @@ -6323,7 +6946,7 @@ void ParameterizedType::InternalSwap(ParameterizedType* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ParameterizedType::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_getter, &descriptor_table_substrait_2fparameterized_5ftypes_2eproto_once, - file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[15]); + file_level_metadata_substrait_2fparameterized_5ftypes_2eproto[17]); } // @@protoc_insertion_point(namespace_scope) @@ -6350,6 +6973,12 @@ template<> PROTOBUF_NOINLINE ::substrait::ParameterizedType_ParameterizedFixedBi template<> PROTOBUF_NOINLINE ::substrait::ParameterizedType_ParameterizedDecimal* Arena::CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedDecimal >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::ParameterizedType_ParameterizedDecimal >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::ParameterizedType_ParameterizedIntervalDay* Arena::CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedIntervalDay >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::ParameterizedType_ParameterizedIntervalDay >(arena); +} +template<> PROTOBUF_NOINLINE ::substrait::ParameterizedType_ParameterizedIntervalCompound* Arena::CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedIntervalCompound >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::ParameterizedType_ParameterizedIntervalCompound >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::ParameterizedType_ParameterizedPrecisionTimestamp* Arena::CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedPrecisionTimestamp >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::ParameterizedType_ParameterizedPrecisionTimestamp >(arena); } diff --git a/third_party/substrait/substrait/parameterized_types.pb.h b/third_party/substrait/substrait/parameterized_types.pb.h index bceb1c1..5e3c9ba 100644 --- a/third_party/substrait/substrait/parameterized_types.pb.h +++ b/third_party/substrait/substrait/parameterized_types.pb.h @@ -47,7 +47,7 @@ struct TableStruct_substrait_2fparameterized_5ftypes_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[16] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[18] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -76,6 +76,12 @@ extern ParameterizedType_ParameterizedFixedBinaryDefaultTypeInternal _Parameteri class ParameterizedType_ParameterizedFixedChar; struct ParameterizedType_ParameterizedFixedCharDefaultTypeInternal; extern ParameterizedType_ParameterizedFixedCharDefaultTypeInternal _ParameterizedType_ParameterizedFixedChar_default_instance_; +class ParameterizedType_ParameterizedIntervalCompound; +struct ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal; +extern ParameterizedType_ParameterizedIntervalCompoundDefaultTypeInternal _ParameterizedType_ParameterizedIntervalCompound_default_instance_; +class ParameterizedType_ParameterizedIntervalDay; +struct ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal; +extern ParameterizedType_ParameterizedIntervalDayDefaultTypeInternal _ParameterizedType_ParameterizedIntervalDay_default_instance_; class ParameterizedType_ParameterizedList; struct ParameterizedType_ParameterizedListDefaultTypeInternal; extern ParameterizedType_ParameterizedListDefaultTypeInternal _ParameterizedType_ParameterizedList_default_instance_; @@ -112,6 +118,8 @@ template<> ::substrait::ParameterizedType_NullableInteger* Arena::CreateMaybeMes template<> ::substrait::ParameterizedType_ParameterizedDecimal* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedDecimal>(Arena*); template<> ::substrait::ParameterizedType_ParameterizedFixedBinary* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedFixedBinary>(Arena*); template<> ::substrait::ParameterizedType_ParameterizedFixedChar* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedFixedChar>(Arena*); +template<> ::substrait::ParameterizedType_ParameterizedIntervalCompound* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedIntervalCompound>(Arena*); +template<> ::substrait::ParameterizedType_ParameterizedIntervalDay* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedIntervalDay>(Arena*); template<> ::substrait::ParameterizedType_ParameterizedList* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedList>(Arena*); template<> ::substrait::ParameterizedType_ParameterizedMap* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedMap>(Arena*); template<> ::substrait::ParameterizedType_ParameterizedNamedStruct* Arena::CreateMaybeMessage<::substrait::ParameterizedType_ParameterizedNamedStruct>(Arena*); @@ -1362,6 +1370,360 @@ class ParameterizedType_ParameterizedDecimal final : }; // ------------------------------------------------------------------- +class ParameterizedType_ParameterizedIntervalDay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.ParameterizedType.ParameterizedIntervalDay) */ { + public: + inline ParameterizedType_ParameterizedIntervalDay() : ParameterizedType_ParameterizedIntervalDay(nullptr) {} + ~ParameterizedType_ParameterizedIntervalDay() override; + explicit constexpr ParameterizedType_ParameterizedIntervalDay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ParameterizedType_ParameterizedIntervalDay(const ParameterizedType_ParameterizedIntervalDay& from); + ParameterizedType_ParameterizedIntervalDay(ParameterizedType_ParameterizedIntervalDay&& from) noexcept + : ParameterizedType_ParameterizedIntervalDay() { + *this = ::std::move(from); + } + + inline ParameterizedType_ParameterizedIntervalDay& operator=(const ParameterizedType_ParameterizedIntervalDay& from) { + CopyFrom(from); + return *this; + } + inline ParameterizedType_ParameterizedIntervalDay& operator=(ParameterizedType_ParameterizedIntervalDay&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ParameterizedType_ParameterizedIntervalDay& default_instance() { + return *internal_default_instance(); + } + static inline const ParameterizedType_ParameterizedIntervalDay* internal_default_instance() { + return reinterpret_cast( + &_ParameterizedType_ParameterizedIntervalDay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(ParameterizedType_ParameterizedIntervalDay& a, ParameterizedType_ParameterizedIntervalDay& b) { + a.Swap(&b); + } + inline void Swap(ParameterizedType_ParameterizedIntervalDay* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ParameterizedType_ParameterizedIntervalDay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ParameterizedType_ParameterizedIntervalDay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ParameterizedType_ParameterizedIntervalDay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ParameterizedType_ParameterizedIntervalDay& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ParameterizedType_ParameterizedIntervalDay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.ParameterizedType.ParameterizedIntervalDay"; + } + protected: + explicit ParameterizedType_ParameterizedIntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPrecisionFieldNumber = 1, + kVariationPointerFieldNumber = 2, + kNullabilityFieldNumber = 3, + }; + // .substrait.ParameterizedType.IntegerOption precision = 1; + bool has_precision() const; + private: + bool _internal_has_precision() const; + public: + void clear_precision(); + const ::substrait::ParameterizedType_IntegerOption& precision() const; + PROTOBUF_NODISCARD ::substrait::ParameterizedType_IntegerOption* release_precision(); + ::substrait::ParameterizedType_IntegerOption* mutable_precision(); + void set_allocated_precision(::substrait::ParameterizedType_IntegerOption* precision); + private: + const ::substrait::ParameterizedType_IntegerOption& _internal_precision() const; + ::substrait::ParameterizedType_IntegerOption* _internal_mutable_precision(); + public: + void unsafe_arena_set_allocated_precision( + ::substrait::ParameterizedType_IntegerOption* precision); + ::substrait::ParameterizedType_IntegerOption* unsafe_arena_release_precision(); + + // uint32 variation_pointer = 2; + void clear_variation_pointer(); + uint32_t variation_pointer() const; + void set_variation_pointer(uint32_t value); + private: + uint32_t _internal_variation_pointer() const; + void _internal_set_variation_pointer(uint32_t value); + public: + + // .substrait.Type.Nullability nullability = 3; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); + private: + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); + public: + + // @@protoc_insertion_point(class_scope:substrait.ParameterizedType.ParameterizedIntervalDay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::substrait::ParameterizedType_IntegerOption* precision_; + uint32_t variation_pointer_; + int nullability_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2fparameterized_5ftypes_2eproto; +}; +// ------------------------------------------------------------------- + +class ParameterizedType_ParameterizedIntervalCompound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.ParameterizedType.ParameterizedIntervalCompound) */ { + public: + inline ParameterizedType_ParameterizedIntervalCompound() : ParameterizedType_ParameterizedIntervalCompound(nullptr) {} + ~ParameterizedType_ParameterizedIntervalCompound() override; + explicit constexpr ParameterizedType_ParameterizedIntervalCompound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ParameterizedType_ParameterizedIntervalCompound(const ParameterizedType_ParameterizedIntervalCompound& from); + ParameterizedType_ParameterizedIntervalCompound(ParameterizedType_ParameterizedIntervalCompound&& from) noexcept + : ParameterizedType_ParameterizedIntervalCompound() { + *this = ::std::move(from); + } + + inline ParameterizedType_ParameterizedIntervalCompound& operator=(const ParameterizedType_ParameterizedIntervalCompound& from) { + CopyFrom(from); + return *this; + } + inline ParameterizedType_ParameterizedIntervalCompound& operator=(ParameterizedType_ParameterizedIntervalCompound&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ParameterizedType_ParameterizedIntervalCompound& default_instance() { + return *internal_default_instance(); + } + static inline const ParameterizedType_ParameterizedIntervalCompound* internal_default_instance() { + return reinterpret_cast( + &_ParameterizedType_ParameterizedIntervalCompound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(ParameterizedType_ParameterizedIntervalCompound& a, ParameterizedType_ParameterizedIntervalCompound& b) { + a.Swap(&b); + } + inline void Swap(ParameterizedType_ParameterizedIntervalCompound* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ParameterizedType_ParameterizedIntervalCompound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ParameterizedType_ParameterizedIntervalCompound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ParameterizedType_ParameterizedIntervalCompound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ParameterizedType_ParameterizedIntervalCompound& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ParameterizedType_ParameterizedIntervalCompound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.ParameterizedType.ParameterizedIntervalCompound"; + } + protected: + explicit ParameterizedType_ParameterizedIntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPrecisionFieldNumber = 1, + kVariationPointerFieldNumber = 2, + kNullabilityFieldNumber = 3, + }; + // .substrait.ParameterizedType.IntegerOption precision = 1; + bool has_precision() const; + private: + bool _internal_has_precision() const; + public: + void clear_precision(); + const ::substrait::ParameterizedType_IntegerOption& precision() const; + PROTOBUF_NODISCARD ::substrait::ParameterizedType_IntegerOption* release_precision(); + ::substrait::ParameterizedType_IntegerOption* mutable_precision(); + void set_allocated_precision(::substrait::ParameterizedType_IntegerOption* precision); + private: + const ::substrait::ParameterizedType_IntegerOption& _internal_precision() const; + ::substrait::ParameterizedType_IntegerOption* _internal_mutable_precision(); + public: + void unsafe_arena_set_allocated_precision( + ::substrait::ParameterizedType_IntegerOption* precision); + ::substrait::ParameterizedType_IntegerOption* unsafe_arena_release_precision(); + + // uint32 variation_pointer = 2; + void clear_variation_pointer(); + uint32_t variation_pointer() const; + void set_variation_pointer(uint32_t value); + private: + uint32_t _internal_variation_pointer() const; + void _internal_set_variation_pointer(uint32_t value); + public: + + // .substrait.Type.Nullability nullability = 3; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); + private: + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); + public: + + // @@protoc_insertion_point(class_scope:substrait.ParameterizedType.ParameterizedIntervalCompound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::substrait::ParameterizedType_IntegerOption* precision_; + uint32_t variation_pointer_; + int nullability_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2fparameterized_5ftypes_2eproto; +}; +// ------------------------------------------------------------------- + class ParameterizedType_ParameterizedPrecisionTimestamp final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.ParameterizedType.ParameterizedPrecisionTimestamp) */ { public: @@ -1410,7 +1772,7 @@ class ParameterizedType_ParameterizedPrecisionTimestamp final : &_ParameterizedType_ParameterizedPrecisionTimestamp_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 9; friend void swap(ParameterizedType_ParameterizedPrecisionTimestamp& a, ParameterizedType_ParameterizedPrecisionTimestamp& b) { a.Swap(&b); @@ -1587,7 +1949,7 @@ class ParameterizedType_ParameterizedPrecisionTimestampTZ final : &_ParameterizedType_ParameterizedPrecisionTimestampTZ_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 10; friend void swap(ParameterizedType_ParameterizedPrecisionTimestampTZ& a, ParameterizedType_ParameterizedPrecisionTimestampTZ& b) { a.Swap(&b); @@ -1764,7 +2126,7 @@ class ParameterizedType_ParameterizedStruct final : &_ParameterizedType_ParameterizedStruct_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 11; friend void swap(ParameterizedType_ParameterizedStruct& a, ParameterizedType_ParameterizedStruct& b) { a.Swap(&b); @@ -1941,7 +2303,7 @@ class ParameterizedType_ParameterizedNamedStruct final : &_ParameterizedType_ParameterizedNamedStruct_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 12; friend void swap(ParameterizedType_ParameterizedNamedStruct& a, ParameterizedType_ParameterizedNamedStruct& b) { a.Swap(&b); @@ -2122,7 +2484,7 @@ class ParameterizedType_ParameterizedList final : &_ParameterizedType_ParameterizedList_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 13; friend void swap(ParameterizedType_ParameterizedList& a, ParameterizedType_ParameterizedList& b) { a.Swap(&b); @@ -2299,7 +2661,7 @@ class ParameterizedType_ParameterizedMap final : &_ParameterizedType_ParameterizedMap_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 14; friend void swap(ParameterizedType_ParameterizedMap& a, ParameterizedType_ParameterizedMap& b) { a.Swap(&b); @@ -2496,7 +2858,7 @@ class ParameterizedType_ParameterizedUserDefined final : &_ParameterizedType_ParameterizedUserDefined_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 15; friend void swap(ParameterizedType_ParameterizedUserDefined& a, ParameterizedType_ParameterizedUserDefined& b) { a.Swap(&b); @@ -2670,7 +3032,7 @@ class ParameterizedType_IntegerOption final : &_ParameterizedType_IntegerOption_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 16; friend void swap(ParameterizedType_IntegerOption& a, ParameterizedType_IntegerOption& b) { a.Swap(&b); @@ -2863,6 +3225,7 @@ class ParameterizedType final : kTime = 17, kIntervalYear = 19, kIntervalDay = 20, + kIntervalCompound = 36, kTimestampTz = 29, kUuid = 32, kFixedChar = 21, @@ -2885,7 +3248,7 @@ class ParameterizedType final : &_ParameterizedType_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 17; friend void swap(ParameterizedType& a, ParameterizedType& b) { a.Swap(&b); @@ -2963,6 +3326,8 @@ class ParameterizedType final : typedef ParameterizedType_ParameterizedVarChar ParameterizedVarChar; typedef ParameterizedType_ParameterizedFixedBinary ParameterizedFixedBinary; typedef ParameterizedType_ParameterizedDecimal ParameterizedDecimal; + typedef ParameterizedType_ParameterizedIntervalDay ParameterizedIntervalDay; + typedef ParameterizedType_ParameterizedIntervalCompound ParameterizedIntervalCompound; typedef ParameterizedType_ParameterizedPrecisionTimestamp ParameterizedPrecisionTimestamp; typedef ParameterizedType_ParameterizedPrecisionTimestampTZ ParameterizedPrecisionTimestampTZ; typedef ParameterizedType_ParameterizedStruct ParameterizedStruct; @@ -2989,6 +3354,7 @@ class ParameterizedType final : kTimeFieldNumber = 17, kIntervalYearFieldNumber = 19, kIntervalDayFieldNumber = 20, + kIntervalCompoundFieldNumber = 36, kTimestampTzFieldNumber = 29, kUuidFieldNumber = 32, kFixedCharFieldNumber = 21, @@ -3238,23 +3604,41 @@ class ParameterizedType final : ::substrait::Type_IntervalYear* interval_year); ::substrait::Type_IntervalYear* unsafe_arena_release_interval_year(); - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.ParameterizedType.ParameterizedIntervalDay interval_day = 20; bool has_interval_day() const; private: bool _internal_has_interval_day() const; public: void clear_interval_day(); - const ::substrait::Type_IntervalDay& interval_day() const; - PROTOBUF_NODISCARD ::substrait::Type_IntervalDay* release_interval_day(); - ::substrait::Type_IntervalDay* mutable_interval_day(); - void set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day); + const ::substrait::ParameterizedType_ParameterizedIntervalDay& interval_day() const; + PROTOBUF_NODISCARD ::substrait::ParameterizedType_ParameterizedIntervalDay* release_interval_day(); + ::substrait::ParameterizedType_ParameterizedIntervalDay* mutable_interval_day(); + void set_allocated_interval_day(::substrait::ParameterizedType_ParameterizedIntervalDay* interval_day); private: - const ::substrait::Type_IntervalDay& _internal_interval_day() const; - ::substrait::Type_IntervalDay* _internal_mutable_interval_day(); + const ::substrait::ParameterizedType_ParameterizedIntervalDay& _internal_interval_day() const; + ::substrait::ParameterizedType_ParameterizedIntervalDay* _internal_mutable_interval_day(); public: void unsafe_arena_set_allocated_interval_day( - ::substrait::Type_IntervalDay* interval_day); - ::substrait::Type_IntervalDay* unsafe_arena_release_interval_day(); + ::substrait::ParameterizedType_ParameterizedIntervalDay* interval_day); + ::substrait::ParameterizedType_ParameterizedIntervalDay* unsafe_arena_release_interval_day(); + + // .substrait.ParameterizedType.ParameterizedIntervalCompound interval_compound = 36; + bool has_interval_compound() const; + private: + bool _internal_has_interval_compound() const; + public: + void clear_interval_compound(); + const ::substrait::ParameterizedType_ParameterizedIntervalCompound& interval_compound() const; + PROTOBUF_NODISCARD ::substrait::ParameterizedType_ParameterizedIntervalCompound* release_interval_compound(); + ::substrait::ParameterizedType_ParameterizedIntervalCompound* mutable_interval_compound(); + void set_allocated_interval_compound(::substrait::ParameterizedType_ParameterizedIntervalCompound* interval_compound); + private: + const ::substrait::ParameterizedType_ParameterizedIntervalCompound& _internal_interval_compound() const; + ::substrait::ParameterizedType_ParameterizedIntervalCompound* _internal_mutable_interval_compound(); + public: + void unsafe_arena_set_allocated_interval_compound( + ::substrait::ParameterizedType_ParameterizedIntervalCompound* interval_compound); + ::substrait::ParameterizedType_ParameterizedIntervalCompound* unsafe_arena_release_interval_compound(); // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; PROTOBUF_DEPRECATED bool has_timestamp_tz() const; @@ -3522,6 +3906,7 @@ class ParameterizedType final : void set_has_time(); void set_has_interval_year(); void set_has_interval_day(); + void set_has_interval_compound(); void set_has_timestamp_tz(); void set_has_uuid(); void set_has_fixed_char(); @@ -3559,7 +3944,8 @@ class ParameterizedType final : ::substrait::Type_Date* date_; ::substrait::Type_Time* time_; ::substrait::Type_IntervalYear* interval_year_; - ::substrait::Type_IntervalDay* interval_day_; + ::substrait::ParameterizedType_ParameterizedIntervalDay* interval_day_; + ::substrait::ParameterizedType_ParameterizedIntervalCompound* interval_compound_; ::substrait::Type_TimestampTZ* timestamp_tz_; ::substrait::Type_UUID* uuid_; ::substrait::ParameterizedType_ParameterizedFixedChar* fixed_char_; @@ -4569,6 +4955,274 @@ inline void ParameterizedType_ParameterizedDecimal::set_nullability(::substrait: // ------------------------------------------------------------------- +// ParameterizedType_ParameterizedIntervalDay + +// .substrait.ParameterizedType.IntegerOption precision = 1; +inline bool ParameterizedType_ParameterizedIntervalDay::_internal_has_precision() const { + return this != internal_default_instance() && precision_ != nullptr; +} +inline bool ParameterizedType_ParameterizedIntervalDay::has_precision() const { + return _internal_has_precision(); +} +inline void ParameterizedType_ParameterizedIntervalDay::clear_precision() { + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; +} +inline const ::substrait::ParameterizedType_IntegerOption& ParameterizedType_ParameterizedIntervalDay::_internal_precision() const { + const ::substrait::ParameterizedType_IntegerOption* p = precision_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_ParameterizedType_IntegerOption_default_instance_); +} +inline const ::substrait::ParameterizedType_IntegerOption& ParameterizedType_ParameterizedIntervalDay::precision() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalDay.precision) + return _internal_precision(); +} +inline void ParameterizedType_ParameterizedIntervalDay::unsafe_arena_set_allocated_precision( + ::substrait::ParameterizedType_IntegerOption* precision) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); + } + precision_ = precision; + if (precision) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.ParameterizedType.ParameterizedIntervalDay.precision) +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalDay::release_precision() { + + ::substrait::ParameterizedType_IntegerOption* temp = precision_; + precision_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalDay::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.ParameterizedType.ParameterizedIntervalDay.precision) + + ::substrait::ParameterizedType_IntegerOption* temp = precision_; + precision_ = nullptr; + return temp; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalDay::_internal_mutable_precision() { + + if (precision_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::ParameterizedType_IntegerOption>(GetArenaForAllocation()); + precision_ = p; + } + return precision_; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalDay::mutable_precision() { + ::substrait::ParameterizedType_IntegerOption* _msg = _internal_mutable_precision(); + // @@protoc_insertion_point(field_mutable:substrait.ParameterizedType.ParameterizedIntervalDay.precision) + return _msg; +} +inline void ParameterizedType_ParameterizedIntervalDay::set_allocated_precision(::substrait::ParameterizedType_IntegerOption* precision) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete precision_; + } + if (precision) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::ParameterizedType_IntegerOption>::GetOwningArena(precision); + if (message_arena != submessage_arena) { + precision = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, precision, submessage_arena); + } + + } else { + + } + precision_ = precision; + // @@protoc_insertion_point(field_set_allocated:substrait.ParameterizedType.ParameterizedIntervalDay.precision) +} + +// uint32 variation_pointer = 2; +inline void ParameterizedType_ParameterizedIntervalDay::clear_variation_pointer() { + variation_pointer_ = 0u; +} +inline uint32_t ParameterizedType_ParameterizedIntervalDay::_internal_variation_pointer() const { + return variation_pointer_; +} +inline uint32_t ParameterizedType_ParameterizedIntervalDay::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalDay.variation_pointer) + return _internal_variation_pointer(); +} +inline void ParameterizedType_ParameterizedIntervalDay::_internal_set_variation_pointer(uint32_t value) { + + variation_pointer_ = value; +} +inline void ParameterizedType_ParameterizedIntervalDay::set_variation_pointer(uint32_t value) { + _internal_set_variation_pointer(value); + // @@protoc_insertion_point(field_set:substrait.ParameterizedType.ParameterizedIntervalDay.variation_pointer) +} + +// .substrait.Type.Nullability nullability = 3; +inline void ParameterizedType_ParameterizedIntervalDay::clear_nullability() { + nullability_ = 0; +} +inline ::substrait::Type_Nullability ParameterizedType_ParameterizedIntervalDay::_internal_nullability() const { + return static_cast< ::substrait::Type_Nullability >(nullability_); +} +inline ::substrait::Type_Nullability ParameterizedType_ParameterizedIntervalDay::nullability() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalDay.nullability) + return _internal_nullability(); +} +inline void ParameterizedType_ParameterizedIntervalDay::_internal_set_nullability(::substrait::Type_Nullability value) { + + nullability_ = value; +} +inline void ParameterizedType_ParameterizedIntervalDay::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.ParameterizedType.ParameterizedIntervalDay.nullability) +} + +// ------------------------------------------------------------------- + +// ParameterizedType_ParameterizedIntervalCompound + +// .substrait.ParameterizedType.IntegerOption precision = 1; +inline bool ParameterizedType_ParameterizedIntervalCompound::_internal_has_precision() const { + return this != internal_default_instance() && precision_ != nullptr; +} +inline bool ParameterizedType_ParameterizedIntervalCompound::has_precision() const { + return _internal_has_precision(); +} +inline void ParameterizedType_ParameterizedIntervalCompound::clear_precision() { + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; +} +inline const ::substrait::ParameterizedType_IntegerOption& ParameterizedType_ParameterizedIntervalCompound::_internal_precision() const { + const ::substrait::ParameterizedType_IntegerOption* p = precision_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_ParameterizedType_IntegerOption_default_instance_); +} +inline const ::substrait::ParameterizedType_IntegerOption& ParameterizedType_ParameterizedIntervalCompound::precision() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalCompound.precision) + return _internal_precision(); +} +inline void ParameterizedType_ParameterizedIntervalCompound::unsafe_arena_set_allocated_precision( + ::substrait::ParameterizedType_IntegerOption* precision) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); + } + precision_ = precision; + if (precision) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.ParameterizedType.ParameterizedIntervalCompound.precision) +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalCompound::release_precision() { + + ::substrait::ParameterizedType_IntegerOption* temp = precision_; + precision_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalCompound::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.ParameterizedType.ParameterizedIntervalCompound.precision) + + ::substrait::ParameterizedType_IntegerOption* temp = precision_; + precision_ = nullptr; + return temp; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalCompound::_internal_mutable_precision() { + + if (precision_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::ParameterizedType_IntegerOption>(GetArenaForAllocation()); + precision_ = p; + } + return precision_; +} +inline ::substrait::ParameterizedType_IntegerOption* ParameterizedType_ParameterizedIntervalCompound::mutable_precision() { + ::substrait::ParameterizedType_IntegerOption* _msg = _internal_mutable_precision(); + // @@protoc_insertion_point(field_mutable:substrait.ParameterizedType.ParameterizedIntervalCompound.precision) + return _msg; +} +inline void ParameterizedType_ParameterizedIntervalCompound::set_allocated_precision(::substrait::ParameterizedType_IntegerOption* precision) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete precision_; + } + if (precision) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::ParameterizedType_IntegerOption>::GetOwningArena(precision); + if (message_arena != submessage_arena) { + precision = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, precision, submessage_arena); + } + + } else { + + } + precision_ = precision; + // @@protoc_insertion_point(field_set_allocated:substrait.ParameterizedType.ParameterizedIntervalCompound.precision) +} + +// uint32 variation_pointer = 2; +inline void ParameterizedType_ParameterizedIntervalCompound::clear_variation_pointer() { + variation_pointer_ = 0u; +} +inline uint32_t ParameterizedType_ParameterizedIntervalCompound::_internal_variation_pointer() const { + return variation_pointer_; +} +inline uint32_t ParameterizedType_ParameterizedIntervalCompound::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalCompound.variation_pointer) + return _internal_variation_pointer(); +} +inline void ParameterizedType_ParameterizedIntervalCompound::_internal_set_variation_pointer(uint32_t value) { + + variation_pointer_ = value; +} +inline void ParameterizedType_ParameterizedIntervalCompound::set_variation_pointer(uint32_t value) { + _internal_set_variation_pointer(value); + // @@protoc_insertion_point(field_set:substrait.ParameterizedType.ParameterizedIntervalCompound.variation_pointer) +} + +// .substrait.Type.Nullability nullability = 3; +inline void ParameterizedType_ParameterizedIntervalCompound::clear_nullability() { + nullability_ = 0; +} +inline ::substrait::Type_Nullability ParameterizedType_ParameterizedIntervalCompound::_internal_nullability() const { + return static_cast< ::substrait::Type_Nullability >(nullability_); +} +inline ::substrait::Type_Nullability ParameterizedType_ParameterizedIntervalCompound::nullability() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.ParameterizedIntervalCompound.nullability) + return _internal_nullability(); +} +inline void ParameterizedType_ParameterizedIntervalCompound::_internal_set_nullability(::substrait::Type_Nullability value) { + + nullability_ = value; +} +inline void ParameterizedType_ParameterizedIntervalCompound::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.ParameterizedType.ParameterizedIntervalCompound.nullability) +} + +// ------------------------------------------------------------------- + // ParameterizedType_ParameterizedPrecisionTimestamp // .substrait.ParameterizedType.IntegerOption precision = 1; @@ -6497,7 +7151,7 @@ inline ::substrait::Type_IntervalYear* ParameterizedType::mutable_interval_year( return _msg; } -// .substrait.Type.IntervalDay interval_day = 20; +// .substrait.ParameterizedType.ParameterizedIntervalDay interval_day = 20; inline bool ParameterizedType::_internal_has_interval_day() const { return kind_case() == kIntervalDay; } @@ -6507,11 +7161,19 @@ inline bool ParameterizedType::has_interval_day() const { inline void ParameterizedType::set_has_interval_day() { _oneof_case_[0] = kIntervalDay; } -inline ::substrait::Type_IntervalDay* ParameterizedType::release_interval_day() { +inline void ParameterizedType::clear_interval_day() { + if (_internal_has_interval_day()) { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_day_; + } + clear_has_kind(); + } +} +inline ::substrait::ParameterizedType_ParameterizedIntervalDay* ParameterizedType::release_interval_day() { // @@protoc_insertion_point(field_release:substrait.ParameterizedType.interval_day) if (_internal_has_interval_day()) { clear_has_kind(); - ::substrait::Type_IntervalDay* temp = kind_.interval_day_; + ::substrait::ParameterizedType_ParameterizedIntervalDay* temp = kind_.interval_day_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } @@ -6521,27 +7183,27 @@ inline ::substrait::Type_IntervalDay* ParameterizedType::release_interval_day() return nullptr; } } -inline const ::substrait::Type_IntervalDay& ParameterizedType::_internal_interval_day() const { +inline const ::substrait::ParameterizedType_ParameterizedIntervalDay& ParameterizedType::_internal_interval_day() const { return _internal_has_interval_day() ? *kind_.interval_day_ - : reinterpret_cast< ::substrait::Type_IntervalDay&>(::substrait::_Type_IntervalDay_default_instance_); + : reinterpret_cast< ::substrait::ParameterizedType_ParameterizedIntervalDay&>(::substrait::_ParameterizedType_ParameterizedIntervalDay_default_instance_); } -inline const ::substrait::Type_IntervalDay& ParameterizedType::interval_day() const { +inline const ::substrait::ParameterizedType_ParameterizedIntervalDay& ParameterizedType::interval_day() const { // @@protoc_insertion_point(field_get:substrait.ParameterizedType.interval_day) return _internal_interval_day(); } -inline ::substrait::Type_IntervalDay* ParameterizedType::unsafe_arena_release_interval_day() { +inline ::substrait::ParameterizedType_ParameterizedIntervalDay* ParameterizedType::unsafe_arena_release_interval_day() { // @@protoc_insertion_point(field_unsafe_arena_release:substrait.ParameterizedType.interval_day) if (_internal_has_interval_day()) { clear_has_kind(); - ::substrait::Type_IntervalDay* temp = kind_.interval_day_; + ::substrait::ParameterizedType_ParameterizedIntervalDay* temp = kind_.interval_day_; kind_.interval_day_ = nullptr; return temp; } else { return nullptr; } } -inline void ParameterizedType::unsafe_arena_set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day) { +inline void ParameterizedType::unsafe_arena_set_allocated_interval_day(::substrait::ParameterizedType_ParameterizedIntervalDay* interval_day) { clear_kind(); if (interval_day) { set_has_interval_day(); @@ -6549,20 +7211,94 @@ inline void ParameterizedType::unsafe_arena_set_allocated_interval_day(::substra } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.ParameterizedType.interval_day) } -inline ::substrait::Type_IntervalDay* ParameterizedType::_internal_mutable_interval_day() { +inline ::substrait::ParameterizedType_ParameterizedIntervalDay* ParameterizedType::_internal_mutable_interval_day() { if (!_internal_has_interval_day()) { clear_kind(); set_has_interval_day(); - kind_.interval_day_ = CreateMaybeMessage< ::substrait::Type_IntervalDay >(GetArenaForAllocation()); + kind_.interval_day_ = CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedIntervalDay >(GetArenaForAllocation()); } return kind_.interval_day_; } -inline ::substrait::Type_IntervalDay* ParameterizedType::mutable_interval_day() { - ::substrait::Type_IntervalDay* _msg = _internal_mutable_interval_day(); +inline ::substrait::ParameterizedType_ParameterizedIntervalDay* ParameterizedType::mutable_interval_day() { + ::substrait::ParameterizedType_ParameterizedIntervalDay* _msg = _internal_mutable_interval_day(); // @@protoc_insertion_point(field_mutable:substrait.ParameterizedType.interval_day) return _msg; } +// .substrait.ParameterizedType.ParameterizedIntervalCompound interval_compound = 36; +inline bool ParameterizedType::_internal_has_interval_compound() const { + return kind_case() == kIntervalCompound; +} +inline bool ParameterizedType::has_interval_compound() const { + return _internal_has_interval_compound(); +} +inline void ParameterizedType::set_has_interval_compound() { + _oneof_case_[0] = kIntervalCompound; +} +inline void ParameterizedType::clear_interval_compound() { + if (_internal_has_interval_compound()) { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + clear_has_kind(); + } +} +inline ::substrait::ParameterizedType_ParameterizedIntervalCompound* ParameterizedType::release_interval_compound() { + // @@protoc_insertion_point(field_release:substrait.ParameterizedType.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::ParameterizedType_ParameterizedIntervalCompound* temp = kind_.interval_compound_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::ParameterizedType_ParameterizedIntervalCompound& ParameterizedType::_internal_interval_compound() const { + return _internal_has_interval_compound() + ? *kind_.interval_compound_ + : reinterpret_cast< ::substrait::ParameterizedType_ParameterizedIntervalCompound&>(::substrait::_ParameterizedType_ParameterizedIntervalCompound_default_instance_); +} +inline const ::substrait::ParameterizedType_ParameterizedIntervalCompound& ParameterizedType::interval_compound() const { + // @@protoc_insertion_point(field_get:substrait.ParameterizedType.interval_compound) + return _internal_interval_compound(); +} +inline ::substrait::ParameterizedType_ParameterizedIntervalCompound* ParameterizedType::unsafe_arena_release_interval_compound() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.ParameterizedType.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::ParameterizedType_ParameterizedIntervalCompound* temp = kind_.interval_compound_; + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ParameterizedType::unsafe_arena_set_allocated_interval_compound(::substrait::ParameterizedType_ParameterizedIntervalCompound* interval_compound) { + clear_kind(); + if (interval_compound) { + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.ParameterizedType.interval_compound) +} +inline ::substrait::ParameterizedType_ParameterizedIntervalCompound* ParameterizedType::_internal_mutable_interval_compound() { + if (!_internal_has_interval_compound()) { + clear_kind(); + set_has_interval_compound(); + kind_.interval_compound_ = CreateMaybeMessage< ::substrait::ParameterizedType_ParameterizedIntervalCompound >(GetArenaForAllocation()); + } + return kind_.interval_compound_; +} +inline ::substrait::ParameterizedType_ParameterizedIntervalCompound* ParameterizedType::mutable_interval_compound() { + ::substrait::ParameterizedType_ParameterizedIntervalCompound* _msg = _internal_mutable_interval_compound(); + // @@protoc_insertion_point(field_mutable:substrait.ParameterizedType.interval_compound) + return _msg; +} + // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; inline bool ParameterizedType::_internal_has_timestamp_tz() const { return kind_case() == kTimestampTz; @@ -7589,6 +8325,10 @@ inline ParameterizedType::KindCase ParameterizedType::kind_case() const { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/third_party/substrait/substrait/type.pb.cc b/third_party/substrait/substrait/type.pb.cc index 865608e..80a6124 100644 --- a/third_party/substrait/substrait/type.pb.cc +++ b/third_party/substrait/substrait/type.pb.cc @@ -217,7 +217,8 @@ constexpr Type_IntervalDay::Type_IntervalDay( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : type_variation_reference_(0u) , nullability_(0) -{} + + , precision_(0){} struct Type_IntervalDayDefaultTypeInternal { constexpr Type_IntervalDayDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -227,6 +228,21 @@ struct Type_IntervalDayDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Type_IntervalDayDefaultTypeInternal _Type_IntervalDay_default_instance_; +constexpr Type_IntervalCompound::Type_IntervalCompound( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : type_variation_reference_(0u) + , nullability_(0) + + , precision_(0){} +struct Type_IntervalCompoundDefaultTypeInternal { + constexpr Type_IntervalCompoundDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Type_IntervalCompoundDefaultTypeInternal() {} + union { + Type_IntervalCompound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Type_IntervalCompoundDefaultTypeInternal _Type_IntervalCompound_default_instance_; constexpr Type_UUID::Type_UUID( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : type_variation_reference_(0u) @@ -432,7 +448,7 @@ struct NamedStructDefaultTypeInternal { }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NamedStructDefaultTypeInternal _NamedStruct_default_instance_; } // namespace substrait -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2ftype_2eproto[29]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2ftype_2eproto[30]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_substrait_2ftype_2eproto[1]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_substrait_2ftype_2eproto = nullptr; @@ -549,7 +565,7 @@ const uint32_t TableStruct_substrait_2ftype_2eproto::offsets[] PROTOBUF_SECTION_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalYear, type_variation_reference_), PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalYear, nullability_), - ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalDay, _has_bits_), PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalDay, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -557,6 +573,19 @@ const uint32_t TableStruct_substrait_2ftype_2eproto::offsets[] PROTOBUF_SECTION_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalDay, type_variation_reference_), PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalDay, nullability_), + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalDay, precision_), + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalCompound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalCompound, type_variation_reference_), + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalCompound, nullability_), + PROTOBUF_FIELD_OFFSET(::substrait::Type_IntervalCompound, precision_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::Type_UUID, _internal_metadata_), ~0u, // no _extensions_ @@ -704,6 +733,7 @@ const uint32_t TableStruct_substrait_2ftype_2eproto::offsets[] PROTOBUF_SECTION_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::substrait::Type, kind_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::NamedStruct, _internal_metadata_), @@ -729,21 +759,22 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 88, -1, -1, sizeof(::substrait::Type_Time)}, { 96, -1, -1, sizeof(::substrait::Type_TimestampTZ)}, { 104, -1, -1, sizeof(::substrait::Type_IntervalYear)}, - { 112, -1, -1, sizeof(::substrait::Type_IntervalDay)}, - { 120, -1, -1, sizeof(::substrait::Type_UUID)}, - { 128, -1, -1, sizeof(::substrait::Type_FixedChar)}, - { 137, -1, -1, sizeof(::substrait::Type_VarChar)}, - { 146, -1, -1, sizeof(::substrait::Type_FixedBinary)}, - { 155, -1, -1, sizeof(::substrait::Type_Decimal)}, - { 165, -1, -1, sizeof(::substrait::Type_PrecisionTimestamp)}, - { 174, -1, -1, sizeof(::substrait::Type_PrecisionTimestampTZ)}, - { 183, -1, -1, sizeof(::substrait::Type_Struct)}, - { 192, -1, -1, sizeof(::substrait::Type_List)}, - { 201, -1, -1, sizeof(::substrait::Type_Map)}, - { 211, -1, -1, sizeof(::substrait::Type_UserDefined)}, - { 221, -1, -1, sizeof(::substrait::Type_Parameter)}, - { 234, -1, -1, sizeof(::substrait::Type)}, - { 268, -1, -1, sizeof(::substrait::NamedStruct)}, + { 112, 121, -1, sizeof(::substrait::Type_IntervalDay)}, + { 124, -1, -1, sizeof(::substrait::Type_IntervalCompound)}, + { 133, -1, -1, sizeof(::substrait::Type_UUID)}, + { 141, -1, -1, sizeof(::substrait::Type_FixedChar)}, + { 150, -1, -1, sizeof(::substrait::Type_VarChar)}, + { 159, -1, -1, sizeof(::substrait::Type_FixedBinary)}, + { 168, -1, -1, sizeof(::substrait::Type_Decimal)}, + { 178, -1, -1, sizeof(::substrait::Type_PrecisionTimestamp)}, + { 187, -1, -1, sizeof(::substrait::Type_PrecisionTimestampTZ)}, + { 196, -1, -1, sizeof(::substrait::Type_Struct)}, + { 205, -1, -1, sizeof(::substrait::Type_List)}, + { 214, -1, -1, sizeof(::substrait::Type_Map)}, + { 224, -1, -1, sizeof(::substrait::Type_UserDefined)}, + { 234, -1, -1, sizeof(::substrait::Type_Parameter)}, + { 247, -1, -1, sizeof(::substrait::Type)}, + { 282, -1, -1, sizeof(::substrait::NamedStruct)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -762,6 +793,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_Type_TimestampTZ_default_instance_), reinterpret_cast(&::substrait::_Type_IntervalYear_default_instance_), reinterpret_cast(&::substrait::_Type_IntervalDay_default_instance_), + reinterpret_cast(&::substrait::_Type_IntervalCompound_default_instance_), reinterpret_cast(&::substrait::_Type_UUID_default_instance_), reinterpret_cast(&::substrait::_Type_FixedChar_default_instance_), reinterpret_cast(&::substrait::_Type_VarChar_default_instance_), @@ -780,7 +812,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = const char descriptor_table_protodef_substrait_2ftype_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\024substrait/type.proto\022\tsubstrait\032\033googl" - "e/protobuf/empty.proto\"\316!\n\004Type\022\'\n\004bool\030" + "e/protobuf/empty.proto\"\257#\n\004Type\022\'\n\004bool\030" "\001 \001(\0132\027.substrait.Type.BooleanH\000\022 \n\002i8\030\002" " \001(\0132\022.substrait.Type.I8H\000\022\"\n\003i16\030\003 \001(\0132" "\023.substrait.Type.I16H\000\022\"\n\003i32\030\005 \001(\0132\023.su" @@ -795,112 +827,117 @@ const char descriptor_table_protodef_substrait_2ftype_2eproto[] PROTOBUF_SECTION ".substrait.Type.TimeH\000\0225\n\rinterval_year\030" "\023 \001(\0132\034.substrait.Type.IntervalYearH\000\0223\n" "\014interval_day\030\024 \001(\0132\033.substrait.Type.Int" - "ervalDayH\000\0227\n\014timestamp_tz\030\035 \001(\0132\033.subst" - "rait.Type.TimestampTZB\002\030\001H\000\022$\n\004uuid\030 \001(" - "\0132\024.substrait.Type.UUIDH\000\022/\n\nfixed_char\030" - "\025 \001(\0132\031.substrait.Type.FixedCharH\000\022*\n\007va" - "rchar\030\026 \001(\0132\027.substrait.Type.VarCharH\000\0223" - "\n\014fixed_binary\030\027 \001(\0132\033.substrait.Type.Fi" - "xedBinaryH\000\022*\n\007decimal\030\030 \001(\0132\027.substrait" - ".Type.DecimalH\000\022A\n\023precision_timestamp\030!" - " \001(\0132\".substrait.Type.PrecisionTimestamp" - "H\000\022F\n\026precision_timestamp_tz\030\" \001(\0132$.sub" - "strait.Type.PrecisionTimestampTZH\000\022(\n\006st" - "ruct\030\031 \001(\0132\026.substrait.Type.StructH\000\022$\n\004" - "list\030\033 \001(\0132\024.substrait.Type.ListH\000\022\"\n\003ma" - "p\030\034 \001(\0132\023.substrait.Type.MapH\000\0223\n\014user_d" - "efined\030\036 \001(\0132\033.substrait.Type.UserDefine" - "dH\000\022)\n\033user_defined_type_reference\030\037 \001(\r" - "B\002\030\001H\000\032]\n\007Boolean\022 \n\030type_variation_refe" - "rence\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.subst" - "rait.Type.Nullability\032X\n\002I8\022 \n\030type_vari" + "ervalDayH\000\022=\n\021interval_compound\030# \001(\0132 ." + "substrait.Type.IntervalCompoundH\000\0227\n\014tim" + "estamp_tz\030\035 \001(\0132\033.substrait.Type.Timesta" + "mpTZB\002\030\001H\000\022$\n\004uuid\030 \001(\0132\024.substrait.Typ" + "e.UUIDH\000\022/\n\nfixed_char\030\025 \001(\0132\031.substrait" + ".Type.FixedCharH\000\022*\n\007varchar\030\026 \001(\0132\027.sub" + "strait.Type.VarCharH\000\0223\n\014fixed_binary\030\027 " + "\001(\0132\033.substrait.Type.FixedBinaryH\000\022*\n\007de" + "cimal\030\030 \001(\0132\027.substrait.Type.DecimalH\000\022A" + "\n\023precision_timestamp\030! \001(\0132\".substrait." + "Type.PrecisionTimestampH\000\022F\n\026precision_t" + "imestamp_tz\030\" \001(\0132$.substrait.Type.Preci" + "sionTimestampTZH\000\022(\n\006struct\030\031 \001(\0132\026.subs" + "trait.Type.StructH\000\022$\n\004list\030\033 \001(\0132\024.subs" + "trait.Type.ListH\000\022\"\n\003map\030\034 \001(\0132\023.substra" + "it.Type.MapH\000\0223\n\014user_defined\030\036 \001(\0132\033.su" + "bstrait.Type.UserDefinedH\000\022)\n\033user_defin" + "ed_type_reference\030\037 \001(\rB\002\030\001H\000\032]\n\007Boolean" + "\022 \n\030type_variation_reference\030\001 \001(\r\0220\n\013nu" + "llability\030\002 \001(\0162\033.substrait.Type.Nullabi" + "lity\032X\n\002I8\022 \n\030type_variation_reference\030\001" + " \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait.Ty" + "pe.Nullability\032Y\n\003I16\022 \n\030type_variation_" + "reference\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.s" + "ubstrait.Type.Nullability\032Y\n\003I32\022 \n\030type" + "_variation_reference\030\001 \001(\r\0220\n\013nullabilit" + "y\030\002 \001(\0162\033.substrait.Type.Nullability\032Y\n\003" + "I64\022 \n\030type_variation_reference\030\001 \001(\r\0220\n" + "\013nullability\030\002 \001(\0162\033.substrait.Type.Null" + "ability\032Z\n\004FP32\022 \n\030type_variation_refere" + "nce\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substra" + "it.Type.Nullability\032Z\n\004FP64\022 \n\030type_vari" "ation_reference\030\001 \001(\r\0220\n\013nullability\030\002 \001" - "(\0162\033.substrait.Type.Nullability\032Y\n\003I16\022 " - "\n\030type_variation_reference\030\001 \001(\r\0220\n\013null" - "ability\030\002 \001(\0162\033.substrait.Type.Nullabili" - "ty\032Y\n\003I32\022 \n\030type_variation_reference\030\001 " - "\001(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait.Typ" - "e.Nullability\032Y\n\003I64\022 \n\030type_variation_r" - "eference\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.su" - "bstrait.Type.Nullability\032Z\n\004FP32\022 \n\030type" + "(\0162\033.substrait.Type.Nullability\032\\\n\006Strin" + "g\022 \n\030type_variation_reference\030\001 \001(\r\0220\n\013n" + "ullability\030\002 \001(\0162\033.substrait.Type.Nullab" + "ility\032\\\n\006Binary\022 \n\030type_variation_refere" + "nce\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substra" + "it.Type.Nullability\032_\n\tTimestamp\022 \n\030type" "_variation_reference\030\001 \001(\r\0220\n\013nullabilit" "y\030\002 \001(\0162\033.substrait.Type.Nullability\032Z\n\004" - "FP64\022 \n\030type_variation_reference\030\001 \001(\r\0220" + "Date\022 \n\030type_variation_reference\030\001 \001(\r\0220" "\n\013nullability\030\002 \001(\0162\033.substrait.Type.Nul" - "lability\032\\\n\006String\022 \n\030type_variation_ref" - "erence\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.subs" - "trait.Type.Nullability\032\\\n\006Binary\022 \n\030type" - "_variation_reference\030\001 \001(\r\0220\n\013nullabilit" - "y\030\002 \001(\0162\033.substrait.Type.Nullability\032_\n\t" - "Timestamp\022 \n\030type_variation_reference\030\001 " - "\001(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait.Typ" - "e.Nullability\032Z\n\004Date\022 \n\030type_variation_" - "reference\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.s" - "ubstrait.Type.Nullability\032Z\n\004Time\022 \n\030typ" - "e_variation_reference\030\001 \001(\r\0220\n\013nullabili" - "ty\030\002 \001(\0162\033.substrait.Type.Nullability\032a\n" - "\013TimestampTZ\022 \n\030type_variation_reference" - "\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait." - "Type.Nullability\032b\n\014IntervalYear\022 \n\030type" - "_variation_reference\030\001 \001(\r\0220\n\013nullabilit" - "y\030\002 \001(\0162\033.substrait.Type.Nullability\032a\n\013" - "IntervalDay\022 \n\030type_variation_reference\030" - "\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait.T" - "ype.Nullability\032Z\n\004UUID\022 \n\030type_variatio" - "n_reference\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033" - ".substrait.Type.Nullability\032o\n\tFixedChar" - "\022\016\n\006length\030\001 \001(\005\022 \n\030type_variation_refer" - "ence\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substr" - "ait.Type.Nullability\032m\n\007VarChar\022\016\n\006lengt" - "h\030\001 \001(\005\022 \n\030type_variation_reference\030\002 \001(" - "\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Type." - "Nullability\032q\n\013FixedBinary\022\016\n\006length\030\001 \001" - "(\005\022 \n\030type_variation_reference\030\002 \001(\r\0220\n\013" - "nullability\030\003 \001(\0162\033.substrait.Type.Nulla" - "bility\032\177\n\007Decimal\022\r\n\005scale\030\001 \001(\005\022\021\n\tprec" - "ision\030\002 \001(\005\022 \n\030type_variation_reference\030" - "\003 \001(\r\0220\n\013nullability\030\004 \001(\0162\033.substrait.T" - "ype.Nullability\032{\n\022PrecisionTimestamp\022\021\n" - "\tprecision\030\001 \001(\005\022 \n\030type_variation_refer" - "ence\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substr" - "ait.Type.Nullability\032}\n\024PrecisionTimesta" - "mpTZ\022\021\n\tprecision\030\001 \001(\005\022 \n\030type_variatio" - "n_reference\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033" - ".substrait.Type.Nullability\032|\n\006Struct\022\036\n" - "\005types\030\001 \003(\0132\017.substrait.Type\022 \n\030type_va" - "riation_reference\030\002 \001(\r\0220\n\013nullability\030\003" - " \001(\0162\033.substrait.Type.Nullability\032y\n\004Lis" - "t\022\035\n\004type\030\001 \001(\0132\017.substrait.Type\022 \n\030type" + "lability\032Z\n\004Time\022 \n\030type_variation_refer" + "ence\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substr" + "ait.Type.Nullability\032a\n\013TimestampTZ\022 \n\030t" + "ype_variation_reference\030\001 \001(\r\0220\n\013nullabi" + "lity\030\002 \001(\0162\033.substrait.Type.Nullability\032" + "b\n\014IntervalYear\022 \n\030type_variation_refere" + "nce\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.substra" + "it.Type.Nullability\032\207\001\n\013IntervalDay\022 \n\030t" + "ype_variation_reference\030\001 \001(\r\0220\n\013nullabi" + "lity\030\002 \001(\0162\033.substrait.Type.Nullability\022" + "\026\n\tprecision\030\003 \001(\005H\000\210\001\001B\014\n\n_precision\032y\n" + "\020IntervalCompound\022 \n\030type_variation_refe" + "rence\030\001 \001(\r\0220\n\013nullability\030\002 \001(\0162\033.subst" + "rait.Type.Nullability\022\021\n\tprecision\030\003 \001(\005" + "\032Z\n\004UUID\022 \n\030type_variation_reference\030\001 \001" + "(\r\0220\n\013nullability\030\002 \001(\0162\033.substrait.Type" + ".Nullability\032o\n\tFixedChar\022\016\n\006length\030\001 \001(" + "\005\022 \n\030type_variation_reference\030\002 \001(\r\0220\n\013n" + "ullability\030\003 \001(\0162\033.substrait.Type.Nullab" + "ility\032m\n\007VarChar\022\016\n\006length\030\001 \001(\005\022 \n\030type" "_variation_reference\030\002 \001(\r\0220\n\013nullabilit" - "y\030\003 \001(\0162\033.substrait.Type.Nullability\032\227\001\n" - "\003Map\022\034\n\003key\030\001 \001(\0132\017.substrait.Type\022\036\n\005va" - "lue\030\002 \001(\0132\017.substrait.Type\022 \n\030type_varia" - "tion_reference\030\003 \001(\r\0220\n\013nullability\030\004 \001(" - "\0162\033.substrait.Type.Nullability\032\255\001\n\013UserD" - "efined\022\026\n\016type_reference\030\001 \001(\r\022 \n\030type_v" - "ariation_reference\030\002 \001(\r\0220\n\013nullability\030" - "\003 \001(\0162\033.substrait.Type.Nullability\0222\n\017ty" - "pe_parameters\030\004 \003(\0132\031.substrait.Type.Par" - "ameter\032\256\001\n\tParameter\022&\n\004null\030\001 \001(\0132\026.goo" - "gle.protobuf.EmptyH\000\022$\n\tdata_type\030\002 \001(\0132" - "\017.substrait.TypeH\000\022\021\n\007boolean\030\003 \001(\010H\000\022\021\n" - "\007integer\030\004 \001(\003H\000\022\016\n\004enum\030\005 \001(\tH\000\022\020\n\006stri" - "ng\030\006 \001(\tH\000B\013\n\tparameter\"^\n\013Nullability\022\033" - "\n\027NULLABILITY_UNSPECIFIED\020\000\022\030\n\024NULLABILI" - "TY_NULLABLE\020\001\022\030\n\024NULLABILITY_REQUIRED\020\002B" - "\006\n\004kind\"D\n\013NamedStruct\022\r\n\005names\030\001 \003(\t\022&\n" - "\006struct\030\002 \001(\0132\026.substrait.Type.StructBW\n" - "\022io.substrait.protoP\001Z*github.com/substr" - "ait-io/substrait-go/proto\252\002\022Substrait.Pr" - "otobufb\006proto3" + "y\030\003 \001(\0162\033.substrait.Type.Nullability\032q\n\013" + "FixedBinary\022\016\n\006length\030\001 \001(\005\022 \n\030type_vari" + "ation_reference\030\002 \001(\r\0220\n\013nullability\030\003 \001" + "(\0162\033.substrait.Type.Nullability\032\177\n\007Decim" + "al\022\r\n\005scale\030\001 \001(\005\022\021\n\tprecision\030\002 \001(\005\022 \n\030" + "type_variation_reference\030\003 \001(\r\0220\n\013nullab" + "ility\030\004 \001(\0162\033.substrait.Type.Nullability" + "\032{\n\022PrecisionTimestamp\022\021\n\tprecision\030\001 \001(" + "\005\022 \n\030type_variation_reference\030\002 \001(\r\0220\n\013n" + "ullability\030\003 \001(\0162\033.substrait.Type.Nullab" + "ility\032}\n\024PrecisionTimestampTZ\022\021\n\tprecisi" + "on\030\001 \001(\005\022 \n\030type_variation_reference\030\002 \001" + "(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Type" + ".Nullability\032|\n\006Struct\022\036\n\005types\030\001 \003(\0132\017." + "substrait.Type\022 \n\030type_variation_referen" + "ce\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrai" + "t.Type.Nullability\032y\n\004List\022\035\n\004type\030\001 \001(\013" + "2\017.substrait.Type\022 \n\030type_variation_refe" + "rence\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.subst" + "rait.Type.Nullability\032\227\001\n\003Map\022\034\n\003key\030\001 \001" + "(\0132\017.substrait.Type\022\036\n\005value\030\002 \001(\0132\017.sub" + "strait.Type\022 \n\030type_variation_reference\030" + "\003 \001(\r\0220\n\013nullability\030\004 \001(\0162\033.substrait.T" + "ype.Nullability\032\255\001\n\013UserDefined\022\026\n\016type_" + "reference\030\001 \001(\r\022 \n\030type_variation_refere" + "nce\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substra" + "it.Type.Nullability\0222\n\017type_parameters\030\004" + " \003(\0132\031.substrait.Type.Parameter\032\256\001\n\tPara" + "meter\022&\n\004null\030\001 \001(\0132\026.google.protobuf.Em" + "ptyH\000\022$\n\tdata_type\030\002 \001(\0132\017.substrait.Typ" + "eH\000\022\021\n\007boolean\030\003 \001(\010H\000\022\021\n\007integer\030\004 \001(\003H" + "\000\022\016\n\004enum\030\005 \001(\tH\000\022\020\n\006string\030\006 \001(\tH\000B\013\n\tp" + "arameter\"^\n\013Nullability\022\033\n\027NULLABILITY_U" + "NSPECIFIED\020\000\022\030\n\024NULLABILITY_NULLABLE\020\001\022\030" + "\n\024NULLABILITY_REQUIRED\020\002B\006\n\004kind\"D\n\013Name" + "dStruct\022\r\n\005names\030\001 \003(\t\022&\n\006struct\030\002 \001(\0132\026" + ".substrait.Type.StructBW\n\022io.substrait.p" + "rotoP\001Z*github.com/substrait-io/substrai" + "t-go/proto\252\002\022Substrait.Protobufb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_substrait_2ftype_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_substrait_2ftype_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_substrait_2ftype_2eproto = { - false, false, 4534, descriptor_table_protodef_substrait_2ftype_2eproto, "substrait/type.proto", - &descriptor_table_substrait_2ftype_2eproto_once, descriptor_table_substrait_2ftype_2eproto_deps, 1, 29, + false, false, 4759, descriptor_table_protodef_substrait_2ftype_2eproto, "substrait/type.proto", + &descriptor_table_substrait_2ftype_2eproto_once, descriptor_table_substrait_2ftype_2eproto_deps, 1, 30, schemas, file_default_instances, TableStruct_substrait_2ftype_2eproto::offsets, file_level_metadata_substrait_2ftype_2eproto, file_level_enum_descriptors_substrait_2ftype_2eproto, file_level_service_descriptors_substrait_2ftype_2eproto, }; @@ -3949,6 +3986,10 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Type_IntervalYear::GetMetadata() const { class Type_IntervalDay::_Internal { public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_precision(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; Type_IntervalDay::Type_IntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -3961,19 +4002,20 @@ Type_IntervalDay::Type_IntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, // @@protoc_insertion_point(arena_constructor:substrait.Type.IntervalDay) } Type_IntervalDay::Type_IntervalDay(const Type_IntervalDay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&type_variation_reference_, &from.type_variation_reference_, - static_cast(reinterpret_cast(&nullability_) - - reinterpret_cast(&type_variation_reference_)) + sizeof(nullability_)); + static_cast(reinterpret_cast(&precision_) - + reinterpret_cast(&type_variation_reference_)) + sizeof(precision_)); // @@protoc_insertion_point(copy_constructor:substrait.Type.IntervalDay) } inline void Type_IntervalDay::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&type_variation_reference_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&nullability_) - - reinterpret_cast(&type_variation_reference_)) + sizeof(nullability_)); + 0, static_cast(reinterpret_cast(&precision_) - + reinterpret_cast(&type_variation_reference_)) + sizeof(precision_)); } Type_IntervalDay::~Type_IntervalDay() { @@ -4006,11 +4048,14 @@ void Type_IntervalDay::Clear() { ::memset(&type_variation_reference_, 0, static_cast( reinterpret_cast(&nullability_) - reinterpret_cast(&type_variation_reference_)) + sizeof(nullability_)); + precision_ = 0; + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Type_IntervalDay::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); @@ -4032,6 +4077,15 @@ const char* Type_IntervalDay::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA } else goto handle_unusual; continue; + // optional int32 precision = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_precision(&has_bits); + precision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -4048,6 +4102,7 @@ const char* Type_IntervalDay::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -4074,6 +4129,12 @@ uint8_t* Type_IntervalDay::_InternalSerialize( 2, this->_internal_nullability(), target); } + // optional int32 precision = 3; + if (_internal_has_precision()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_precision(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -4101,6 +4162,12 @@ size_t Type_IntervalDay::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); } + // optional int32 precision = 3; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_precision()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -4129,6 +4196,9 @@ void Type_IntervalDay::MergeFrom(const Type_IntervalDay& from) { if (from._internal_nullability() != 0) { _internal_set_nullability(from._internal_nullability()); } + if (from._internal_has_precision()) { + _internal_set_precision(from._internal_precision()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -4146,9 +4216,10 @@ bool Type_IntervalDay::IsInitialized() const { void Type_IntervalDay::InternalSwap(Type_IntervalDay* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Type_IntervalDay, nullability_) - + sizeof(Type_IntervalDay::nullability_) + PROTOBUF_FIELD_OFFSET(Type_IntervalDay, precision_) + + sizeof(Type_IntervalDay::precision_) - PROTOBUF_FIELD_OFFSET(Type_IntervalDay, type_variation_reference_)>( reinterpret_cast(&type_variation_reference_), reinterpret_cast(&other->type_variation_reference_)); @@ -4162,6 +4233,243 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Type_IntervalDay::GetMetadata() const { // =================================================================== +class Type_IntervalCompound::_Internal { + public: +}; + +Type_IntervalCompound::Type_IntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.Type.IntervalCompound) +} +Type_IntervalCompound::Type_IntervalCompound(const Type_IntervalCompound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&type_variation_reference_, &from.type_variation_reference_, + static_cast(reinterpret_cast(&precision_) - + reinterpret_cast(&type_variation_reference_)) + sizeof(precision_)); + // @@protoc_insertion_point(copy_constructor:substrait.Type.IntervalCompound) +} + +inline void Type_IntervalCompound::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&type_variation_reference_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&precision_) - + reinterpret_cast(&type_variation_reference_)) + sizeof(precision_)); +} + +Type_IntervalCompound::~Type_IntervalCompound() { + // @@protoc_insertion_point(destructor:substrait.Type.IntervalCompound) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void Type_IntervalCompound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void Type_IntervalCompound::ArenaDtor(void* object) { + Type_IntervalCompound* _this = reinterpret_cast< Type_IntervalCompound* >(object); + (void)_this; +} +void Type_IntervalCompound::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Type_IntervalCompound::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void Type_IntervalCompound::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.Type.IntervalCompound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&type_variation_reference_, 0, static_cast( + reinterpret_cast(&precision_) - + reinterpret_cast(&type_variation_reference_)) + sizeof(precision_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Type_IntervalCompound::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 type_variation_reference = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + type_variation_reference_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Type.Nullability nullability = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); + } else + goto handle_unusual; + continue; + // int32 precision = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + precision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Type_IntervalCompound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.Type.IntervalCompound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 type_variation_reference = 1; + if (this->_internal_type_variation_reference() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type_variation_reference(), target); + } + + // .substrait.Type.Nullability nullability = 2; + if (this->_internal_nullability() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 2, this->_internal_nullability(), target); + } + + // int32 precision = 3; + if (this->_internal_precision() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_precision(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.Type.IntervalCompound) + return target; +} + +size_t Type_IntervalCompound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.Type.IntervalCompound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 type_variation_reference = 1; + if (this->_internal_type_variation_reference() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_type_variation_reference()); + } + + // .substrait.Type.Nullability nullability = 2; + if (this->_internal_nullability() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); + } + + // int32 precision = 3; + if (this->_internal_precision() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_precision()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Type_IntervalCompound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + Type_IntervalCompound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Type_IntervalCompound::GetClassData() const { return &_class_data_; } + +void Type_IntervalCompound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void Type_IntervalCompound::MergeFrom(const Type_IntervalCompound& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.Type.IntervalCompound) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_type_variation_reference() != 0) { + _internal_set_type_variation_reference(from._internal_type_variation_reference()); + } + if (from._internal_nullability() != 0) { + _internal_set_nullability(from._internal_nullability()); + } + if (from._internal_precision() != 0) { + _internal_set_precision(from._internal_precision()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Type_IntervalCompound::CopyFrom(const Type_IntervalCompound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.Type.IntervalCompound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Type_IntervalCompound::IsInitialized() const { + return true; +} + +void Type_IntervalCompound::InternalSwap(Type_IntervalCompound* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Type_IntervalCompound, precision_) + + sizeof(Type_IntervalCompound::precision_) + - PROTOBUF_FIELD_OFFSET(Type_IntervalCompound, type_variation_reference_)>( + reinterpret_cast(&type_variation_reference_), + reinterpret_cast(&other->type_variation_reference_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Type_IntervalCompound::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, + file_level_metadata_substrait_2ftype_2eproto[15]); +} + +// =================================================================== + class Type_UUID::_Internal { public: }; @@ -4372,7 +4680,7 @@ void Type_UUID::InternalSwap(Type_UUID* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_UUID::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[15]); + file_level_metadata_substrait_2ftype_2eproto[16]); } // =================================================================== @@ -4609,7 +4917,7 @@ void Type_FixedChar::InternalSwap(Type_FixedChar* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_FixedChar::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[16]); + file_level_metadata_substrait_2ftype_2eproto[17]); } // =================================================================== @@ -4846,7 +5154,7 @@ void Type_VarChar::InternalSwap(Type_VarChar* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_VarChar::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[17]); + file_level_metadata_substrait_2ftype_2eproto[18]); } // =================================================================== @@ -5083,7 +5391,7 @@ void Type_FixedBinary::InternalSwap(Type_FixedBinary* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_FixedBinary::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[18]); + file_level_metadata_substrait_2ftype_2eproto[19]); } // =================================================================== @@ -5342,7 +5650,7 @@ void Type_Decimal::InternalSwap(Type_Decimal* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_Decimal::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[19]); + file_level_metadata_substrait_2ftype_2eproto[20]); } // =================================================================== @@ -5579,7 +5887,7 @@ void Type_PrecisionTimestamp::InternalSwap(Type_PrecisionTimestamp* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_PrecisionTimestamp::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[20]); + file_level_metadata_substrait_2ftype_2eproto[21]); } // =================================================================== @@ -5816,7 +6124,7 @@ void Type_PrecisionTimestampTZ::InternalSwap(Type_PrecisionTimestampTZ* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_PrecisionTimestampTZ::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[21]); + file_level_metadata_substrait_2ftype_2eproto[22]); } // =================================================================== @@ -6064,7 +6372,7 @@ void Type_Struct::InternalSwap(Type_Struct* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_Struct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[22]); + file_level_metadata_substrait_2ftype_2eproto[23]); } // =================================================================== @@ -6320,7 +6628,7 @@ void Type_List::InternalSwap(Type_List* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_List::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[23]); + file_level_metadata_substrait_2ftype_2eproto[24]); } // =================================================================== @@ -6617,7 +6925,7 @@ void Type_Map::InternalSwap(Type_Map* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_Map::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[24]); + file_level_metadata_substrait_2ftype_2eproto[25]); } // =================================================================== @@ -6887,7 +7195,7 @@ void Type_UserDefined::InternalSwap(Type_UserDefined* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_UserDefined::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[25]); + file_level_metadata_substrait_2ftype_2eproto[26]); } // =================================================================== @@ -7337,7 +7645,7 @@ void Type_Parameter::InternalSwap(Type_Parameter* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type_Parameter::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[26]); + file_level_metadata_substrait_2ftype_2eproto[27]); } // =================================================================== @@ -7358,6 +7666,7 @@ class Type::_Internal { static const ::substrait::Type_Time& time(const Type* msg); static const ::substrait::Type_IntervalYear& interval_year(const Type* msg); static const ::substrait::Type_IntervalDay& interval_day(const Type* msg); + static const ::substrait::Type_IntervalCompound& interval_compound(const Type* msg); static const ::substrait::Type_TimestampTZ& timestamp_tz(const Type* msg); static const ::substrait::Type_UUID& uuid(const Type* msg); static const ::substrait::Type_FixedChar& fixed_char(const Type* msg); @@ -7428,6 +7737,10 @@ const ::substrait::Type_IntervalDay& Type::_Internal::interval_day(const Type* msg) { return *msg->kind_.interval_day_; } +const ::substrait::Type_IntervalCompound& +Type::_Internal::interval_compound(const Type* msg) { + return *msg->kind_.interval_compound_; +} const ::substrait::Type_TimestampTZ& Type::_Internal::timestamp_tz(const Type* msg) { return *msg->kind_.timestamp_tz_; @@ -7686,6 +7999,21 @@ void Type::set_allocated_interval_day(::substrait::Type_IntervalDay* interval_da } // @@protoc_insertion_point(field_set_allocated:substrait.Type.interval_day) } +void Type::set_allocated_interval_compound(::substrait::Type_IntervalCompound* interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::Type_IntervalCompound>::GetOwningArena(interval_compound); + if (message_arena != submessage_arena) { + interval_compound = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_compound, submessage_arena); + } + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_set_allocated:substrait.Type.interval_compound) +} void Type::set_allocated_timestamp_tz(::substrait::Type_TimestampTZ* timestamp_tz) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -7936,6 +8264,10 @@ Type::Type(const Type& from) _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); break; } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::Type_IntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kTimestampTz: { _internal_mutable_timestamp_tz()->::substrait::Type_TimestampTZ::MergeFrom(from._internal_timestamp_tz()); break; @@ -8110,6 +8442,12 @@ void Type::clear_kind() { } break; } + case kIntervalCompound: { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + break; + } case kTimestampTz: { if (GetArenaForAllocation() == nullptr) { delete kind_.timestamp_tz_; @@ -8426,6 +8764,14 @@ const char* Type::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inter } else goto handle_unusual; continue; + // .substrait.Type.IntervalCompound interval_compound = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_compound(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -8669,6 +9015,14 @@ uint8_t* Type::_InternalSerialize( 34, _Internal::precision_timestamp_tz(this), target, stream); } + // .substrait.Type.IntervalCompound interval_compound = 35; + if (_internal_has_interval_compound()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 35, _Internal::interval_compound(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -8784,6 +9138,13 @@ size_t Type::ByteSizeLong() const { *kind_.interval_day_); break; } + // .substrait.Type.IntervalCompound interval_compound = 35; + case kIntervalCompound: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *kind_.interval_compound_); + break; + } // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; case kTimestampTz: { total_size += 2 + @@ -8958,6 +9319,10 @@ void Type::MergeFrom(const Type& from) { _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); break; } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::Type_IntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kTimestampTz: { _internal_mutable_timestamp_tz()->::substrait::Type_TimestampTZ::MergeFrom(from._internal_timestamp_tz()); break; @@ -9038,7 +9403,7 @@ void Type::InternalSwap(Type* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Type::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[27]); + file_level_metadata_substrait_2ftype_2eproto[28]); } // =================================================================== @@ -9271,7 +9636,7 @@ void NamedStruct::InternalSwap(NamedStruct* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NamedStruct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_2eproto_getter, &descriptor_table_substrait_2ftype_2eproto_once, - file_level_metadata_substrait_2ftype_2eproto[28]); + file_level_metadata_substrait_2ftype_2eproto[29]); } // @@protoc_insertion_point(namespace_scope) @@ -9322,6 +9687,9 @@ template<> PROTOBUF_NOINLINE ::substrait::Type_IntervalYear* Arena::CreateMaybeM template<> PROTOBUF_NOINLINE ::substrait::Type_IntervalDay* Arena::CreateMaybeMessage< ::substrait::Type_IntervalDay >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::Type_IntervalDay >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::Type_IntervalCompound* Arena::CreateMaybeMessage< ::substrait::Type_IntervalCompound >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::Type_IntervalCompound >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::Type_UUID* Arena::CreateMaybeMessage< ::substrait::Type_UUID >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::Type_UUID >(arena); } diff --git a/third_party/substrait/substrait/type.pb.h b/third_party/substrait/substrait/type.pb.h index a8d0dfd..025ed98 100644 --- a/third_party/substrait/substrait/type.pb.h +++ b/third_party/substrait/substrait/type.pb.h @@ -48,7 +48,7 @@ struct TableStruct_substrait_2ftype_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[29] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[30] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -98,6 +98,9 @@ extern Type_I64DefaultTypeInternal _Type_I64_default_instance_; class Type_I8; struct Type_I8DefaultTypeInternal; extern Type_I8DefaultTypeInternal _Type_I8_default_instance_; +class Type_IntervalCompound; +struct Type_IntervalCompoundDefaultTypeInternal; +extern Type_IntervalCompoundDefaultTypeInternal _Type_IntervalCompound_default_instance_; class Type_IntervalDay; struct Type_IntervalDayDefaultTypeInternal; extern Type_IntervalDayDefaultTypeInternal _Type_IntervalDay_default_instance_; @@ -159,6 +162,7 @@ template<> ::substrait::Type_I16* Arena::CreateMaybeMessage<::substrait::Type_I1 template<> ::substrait::Type_I32* Arena::CreateMaybeMessage<::substrait::Type_I32>(Arena*); template<> ::substrait::Type_I64* Arena::CreateMaybeMessage<::substrait::Type_I64>(Arena*); template<> ::substrait::Type_I8* Arena::CreateMaybeMessage<::substrait::Type_I8>(Arena*); +template<> ::substrait::Type_IntervalCompound* Arena::CreateMaybeMessage<::substrait::Type_IntervalCompound>(Arena*); template<> ::substrait::Type_IntervalDay* Arena::CreateMaybeMessage<::substrait::Type_IntervalDay>(Arena*); template<> ::substrait::Type_IntervalYear* Arena::CreateMaybeMessage<::substrait::Type_IntervalYear>(Arena*); template<> ::substrait::Type_List* Arena::CreateMaybeMessage<::substrait::Type_List>(Arena*); @@ -2527,6 +2531,7 @@ class Type_IntervalDay final : enum : int { kTypeVariationReferenceFieldNumber = 1, kNullabilityFieldNumber = 2, + kPrecisionFieldNumber = 3, }; // uint32 type_variation_reference = 1; void clear_type_variation_reference(); @@ -2546,15 +2551,198 @@ class Type_IntervalDay final : void _internal_set_nullability(::substrait::Type_Nullability value); public: + // optional int32 precision = 3; + bool has_precision() const; + private: + bool _internal_has_precision() const; + public: + void clear_precision(); + int32_t precision() const; + void set_precision(int32_t value); + private: + int32_t _internal_precision() const; + void _internal_set_precision(int32_t value); + public: + // @@protoc_insertion_point(class_scope:substrait.Type.IntervalDay) private: class _Internal; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t type_variation_reference_; + int nullability_; + int32_t precision_; + friend struct ::TableStruct_substrait_2ftype_2eproto; +}; +// ------------------------------------------------------------------- + +class Type_IntervalCompound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.Type.IntervalCompound) */ { + public: + inline Type_IntervalCompound() : Type_IntervalCompound(nullptr) {} + ~Type_IntervalCompound() override; + explicit constexpr Type_IntervalCompound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Type_IntervalCompound(const Type_IntervalCompound& from); + Type_IntervalCompound(Type_IntervalCompound&& from) noexcept + : Type_IntervalCompound() { + *this = ::std::move(from); + } + + inline Type_IntervalCompound& operator=(const Type_IntervalCompound& from) { + CopyFrom(from); + return *this; + } + inline Type_IntervalCompound& operator=(Type_IntervalCompound&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Type_IntervalCompound& default_instance() { + return *internal_default_instance(); + } + static inline const Type_IntervalCompound* internal_default_instance() { + return reinterpret_cast( + &_Type_IntervalCompound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(Type_IntervalCompound& a, Type_IntervalCompound& b) { + a.Swap(&b); + } + inline void Swap(Type_IntervalCompound* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Type_IntervalCompound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Type_IntervalCompound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Type_IntervalCompound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const Type_IntervalCompound& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Type_IntervalCompound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.Type.IntervalCompound"; + } + protected: + explicit Type_IntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTypeVariationReferenceFieldNumber = 1, + kNullabilityFieldNumber = 2, + kPrecisionFieldNumber = 3, + }; + // uint32 type_variation_reference = 1; + void clear_type_variation_reference(); + uint32_t type_variation_reference() const; + void set_type_variation_reference(uint32_t value); + private: + uint32_t _internal_type_variation_reference() const; + void _internal_set_type_variation_reference(uint32_t value); + public: + + // .substrait.Type.Nullability nullability = 2; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); + private: + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); + public: + + // int32 precision = 3; + void clear_precision(); + int32_t precision() const; + void set_precision(int32_t value); + private: + int32_t _internal_precision() const; + void _internal_set_precision(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:substrait.Type.IntervalCompound) + private: + class _Internal; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; uint32_t type_variation_reference_; int nullability_; + int32_t precision_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_2eproto; }; @@ -2608,7 +2796,7 @@ class Type_UUID final : &_Type_UUID_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 16; friend void swap(Type_UUID& a, Type_UUID& b) { a.Swap(&b); @@ -2765,7 +2953,7 @@ class Type_FixedChar final : &_Type_FixedChar_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; friend void swap(Type_FixedChar& a, Type_FixedChar& b) { a.Swap(&b); @@ -2933,7 +3121,7 @@ class Type_VarChar final : &_Type_VarChar_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(Type_VarChar& a, Type_VarChar& b) { a.Swap(&b); @@ -3101,7 +3289,7 @@ class Type_FixedBinary final : &_Type_FixedBinary_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; friend void swap(Type_FixedBinary& a, Type_FixedBinary& b) { a.Swap(&b); @@ -3269,7 +3457,7 @@ class Type_Decimal final : &_Type_Decimal_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; friend void swap(Type_Decimal& a, Type_Decimal& b) { a.Swap(&b); @@ -3448,7 +3636,7 @@ class Type_PrecisionTimestamp final : &_Type_PrecisionTimestamp_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; friend void swap(Type_PrecisionTimestamp& a, Type_PrecisionTimestamp& b) { a.Swap(&b); @@ -3616,7 +3804,7 @@ class Type_PrecisionTimestampTZ final : &_Type_PrecisionTimestampTZ_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; friend void swap(Type_PrecisionTimestampTZ& a, Type_PrecisionTimestampTZ& b) { a.Swap(&b); @@ -3784,7 +3972,7 @@ class Type_Struct final : &_Type_Struct_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; friend void swap(Type_Struct& a, Type_Struct& b) { a.Swap(&b); @@ -3961,7 +4149,7 @@ class Type_List final : &_Type_List_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; friend void swap(Type_List& a, Type_List& b) { a.Swap(&b); @@ -4138,7 +4326,7 @@ class Type_Map final : &_Type_Map_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 25; friend void swap(Type_Map& a, Type_Map& b) { a.Swap(&b); @@ -4335,7 +4523,7 @@ class Type_UserDefined final : &_Type_UserDefined_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(Type_UserDefined& a, Type_UserDefined& b) { a.Swap(&b); @@ -4533,7 +4721,7 @@ class Type_Parameter final : &_Type_Parameter_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(Type_Parameter& a, Type_Parameter& b) { a.Swap(&b); @@ -4805,6 +4993,7 @@ class Type final : kTime = 17, kIntervalYear = 19, kIntervalDay = 20, + kIntervalCompound = 35, kTimestampTz = 29, kUuid = 32, kFixedChar = 21, @@ -4826,7 +5015,7 @@ class Type final : &_Type_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 28; friend void swap(Type& a, Type& b) { a.Swap(&b); @@ -4912,6 +5101,7 @@ class Type final : typedef Type_TimestampTZ TimestampTZ; typedef Type_IntervalYear IntervalYear; typedef Type_IntervalDay IntervalDay; + typedef Type_IntervalCompound IntervalCompound; typedef Type_UUID UUID; typedef Type_FixedChar FixedChar; typedef Type_VarChar VarChar; @@ -4974,6 +5164,7 @@ class Type final : kTimeFieldNumber = 17, kIntervalYearFieldNumber = 19, kIntervalDayFieldNumber = 20, + kIntervalCompoundFieldNumber = 35, kTimestampTzFieldNumber = 29, kUuidFieldNumber = 32, kFixedCharFieldNumber = 21, @@ -5240,6 +5431,24 @@ class Type final : ::substrait::Type_IntervalDay* interval_day); ::substrait::Type_IntervalDay* unsafe_arena_release_interval_day(); + // .substrait.Type.IntervalCompound interval_compound = 35; + bool has_interval_compound() const; + private: + bool _internal_has_interval_compound() const; + public: + void clear_interval_compound(); + const ::substrait::Type_IntervalCompound& interval_compound() const; + PROTOBUF_NODISCARD ::substrait::Type_IntervalCompound* release_interval_compound(); + ::substrait::Type_IntervalCompound* mutable_interval_compound(); + void set_allocated_interval_compound(::substrait::Type_IntervalCompound* interval_compound); + private: + const ::substrait::Type_IntervalCompound& _internal_interval_compound() const; + ::substrait::Type_IntervalCompound* _internal_mutable_interval_compound(); + public: + void unsafe_arena_set_allocated_interval_compound( + ::substrait::Type_IntervalCompound* interval_compound); + ::substrait::Type_IntervalCompound* unsafe_arena_release_interval_compound(); + // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; PROTOBUF_DEPRECATED bool has_timestamp_tz() const; private: @@ -5488,6 +5697,7 @@ class Type final : void set_has_time(); void set_has_interval_year(); void set_has_interval_day(); + void set_has_interval_compound(); void set_has_timestamp_tz(); void set_has_uuid(); void set_has_fixed_char(); @@ -5525,6 +5735,7 @@ class Type final : ::substrait::Type_Time* time_; ::substrait::Type_IntervalYear* interval_year_; ::substrait::Type_IntervalDay* interval_day_; + ::substrait::Type_IntervalCompound* interval_compound_; ::substrait::Type_TimestampTZ* timestamp_tz_; ::substrait::Type_UUID* uuid_; ::substrait::Type_FixedChar* fixed_char_; @@ -5594,7 +5805,7 @@ class NamedStruct final : &_NamedStruct_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 29; friend void swap(NamedStruct& a, NamedStruct& b) { a.Swap(&b); @@ -6392,6 +6603,98 @@ inline void Type_IntervalDay::set_nullability(::substrait::Type_Nullability valu // @@protoc_insertion_point(field_set:substrait.Type.IntervalDay.nullability) } +// optional int32 precision = 3; +inline bool Type_IntervalDay::_internal_has_precision() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool Type_IntervalDay::has_precision() const { + return _internal_has_precision(); +} +inline void Type_IntervalDay::clear_precision() { + precision_ = 0; + _has_bits_[0] &= ~0x00000001u; +} +inline int32_t Type_IntervalDay::_internal_precision() const { + return precision_; +} +inline int32_t Type_IntervalDay::precision() const { + // @@protoc_insertion_point(field_get:substrait.Type.IntervalDay.precision) + return _internal_precision(); +} +inline void Type_IntervalDay::_internal_set_precision(int32_t value) { + _has_bits_[0] |= 0x00000001u; + precision_ = value; +} +inline void Type_IntervalDay::set_precision(int32_t value) { + _internal_set_precision(value); + // @@protoc_insertion_point(field_set:substrait.Type.IntervalDay.precision) +} + +// ------------------------------------------------------------------- + +// Type_IntervalCompound + +// uint32 type_variation_reference = 1; +inline void Type_IntervalCompound::clear_type_variation_reference() { + type_variation_reference_ = 0u; +} +inline uint32_t Type_IntervalCompound::_internal_type_variation_reference() const { + return type_variation_reference_; +} +inline uint32_t Type_IntervalCompound::type_variation_reference() const { + // @@protoc_insertion_point(field_get:substrait.Type.IntervalCompound.type_variation_reference) + return _internal_type_variation_reference(); +} +inline void Type_IntervalCompound::_internal_set_type_variation_reference(uint32_t value) { + + type_variation_reference_ = value; +} +inline void Type_IntervalCompound::set_type_variation_reference(uint32_t value) { + _internal_set_type_variation_reference(value); + // @@protoc_insertion_point(field_set:substrait.Type.IntervalCompound.type_variation_reference) +} + +// .substrait.Type.Nullability nullability = 2; +inline void Type_IntervalCompound::clear_nullability() { + nullability_ = 0; +} +inline ::substrait::Type_Nullability Type_IntervalCompound::_internal_nullability() const { + return static_cast< ::substrait::Type_Nullability >(nullability_); +} +inline ::substrait::Type_Nullability Type_IntervalCompound::nullability() const { + // @@protoc_insertion_point(field_get:substrait.Type.IntervalCompound.nullability) + return _internal_nullability(); +} +inline void Type_IntervalCompound::_internal_set_nullability(::substrait::Type_Nullability value) { + + nullability_ = value; +} +inline void Type_IntervalCompound::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.Type.IntervalCompound.nullability) +} + +// int32 precision = 3; +inline void Type_IntervalCompound::clear_precision() { + precision_ = 0; +} +inline int32_t Type_IntervalCompound::_internal_precision() const { + return precision_; +} +inline int32_t Type_IntervalCompound::precision() const { + // @@protoc_insertion_point(field_get:substrait.Type.IntervalCompound.precision) + return _internal_precision(); +} +inline void Type_IntervalCompound::_internal_set_precision(int32_t value) { + + precision_ = value; +} +inline void Type_IntervalCompound::set_precision(int32_t value) { + _internal_set_precision(value); + // @@protoc_insertion_point(field_set:substrait.Type.IntervalCompound.precision) +} + // ------------------------------------------------------------------- // Type_UUID @@ -8819,6 +9122,80 @@ inline ::substrait::Type_IntervalDay* Type::mutable_interval_day() { return _msg; } +// .substrait.Type.IntervalCompound interval_compound = 35; +inline bool Type::_internal_has_interval_compound() const { + return kind_case() == kIntervalCompound; +} +inline bool Type::has_interval_compound() const { + return _internal_has_interval_compound(); +} +inline void Type::set_has_interval_compound() { + _oneof_case_[0] = kIntervalCompound; +} +inline void Type::clear_interval_compound() { + if (_internal_has_interval_compound()) { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + clear_has_kind(); + } +} +inline ::substrait::Type_IntervalCompound* Type::release_interval_compound() { + // @@protoc_insertion_point(field_release:substrait.Type.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::Type_IntervalCompound* temp = kind_.interval_compound_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::Type_IntervalCompound& Type::_internal_interval_compound() const { + return _internal_has_interval_compound() + ? *kind_.interval_compound_ + : reinterpret_cast< ::substrait::Type_IntervalCompound&>(::substrait::_Type_IntervalCompound_default_instance_); +} +inline const ::substrait::Type_IntervalCompound& Type::interval_compound() const { + // @@protoc_insertion_point(field_get:substrait.Type.interval_compound) + return _internal_interval_compound(); +} +inline ::substrait::Type_IntervalCompound* Type::unsafe_arena_release_interval_compound() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.Type.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::Type_IntervalCompound* temp = kind_.interval_compound_; + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Type::unsafe_arena_set_allocated_interval_compound(::substrait::Type_IntervalCompound* interval_compound) { + clear_kind(); + if (interval_compound) { + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.Type.interval_compound) +} +inline ::substrait::Type_IntervalCompound* Type::_internal_mutable_interval_compound() { + if (!_internal_has_interval_compound()) { + clear_kind(); + set_has_interval_compound(); + kind_.interval_compound_ = CreateMaybeMessage< ::substrait::Type_IntervalCompound >(GetArenaForAllocation()); + } + return kind_.interval_compound_; +} +inline ::substrait::Type_IntervalCompound* Type::mutable_interval_compound() { + ::substrait::Type_IntervalCompound* _msg = _internal_mutable_interval_compound(); + // @@protoc_insertion_point(field_mutable:substrait.Type.interval_compound) + return _msg; +} + // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; inline bool Type::_internal_has_timestamp_tz() const { return kind_case() == kTimestampTz; @@ -9982,6 +10359,8 @@ inline void NamedStruct::set_allocated_struct_(::substrait::Type_Struct* struct_ // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/third_party/substrait/substrait/type_expressions.pb.cc b/third_party/substrait/substrait/type_expressions.pb.cc index 8eb7196..40fb98c 100644 --- a/third_party/substrait/substrait/type_expressions.pb.cc +++ b/third_party/substrait/substrait/type_expressions.pb.cc @@ -93,6 +93,36 @@ struct DerivationExpression_ExpressionPrecisionTimestampDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DerivationExpression_ExpressionPrecisionTimestampDefaultTypeInternal _DerivationExpression_ExpressionPrecisionTimestamp_default_instance_; +constexpr DerivationExpression_ExpressionIntervalDay::DerivationExpression_ExpressionIntervalDay( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : precision_(nullptr) + , variation_pointer_(0u) + , nullability_(0) +{} +struct DerivationExpression_ExpressionIntervalDayDefaultTypeInternal { + constexpr DerivationExpression_ExpressionIntervalDayDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DerivationExpression_ExpressionIntervalDayDefaultTypeInternal() {} + union { + DerivationExpression_ExpressionIntervalDay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DerivationExpression_ExpressionIntervalDayDefaultTypeInternal _DerivationExpression_ExpressionIntervalDay_default_instance_; +constexpr DerivationExpression_ExpressionIntervalCompound::DerivationExpression_ExpressionIntervalCompound( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : precision_(nullptr) + , variation_pointer_(0u) + , nullability_(0) +{} +struct DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal { + constexpr DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal() {} + union { + DerivationExpression_ExpressionIntervalCompound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal _DerivationExpression_ExpressionIntervalCompound_default_instance_; constexpr DerivationExpression_ExpressionPrecisionTimestampTZ::DerivationExpression_ExpressionPrecisionTimestampTZ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : precision_(nullptr) @@ -264,7 +294,7 @@ struct DerivationExpressionDefaultTypeInternal { }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DerivationExpressionDefaultTypeInternal _DerivationExpression_default_instance_; } // namespace substrait -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2ftype_5fexpressions_2eproto[17]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_substrait_2ftype_5fexpressions_2eproto[19]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_substrait_2ftype_5fexpressions_2eproto[2]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_substrait_2ftype_5fexpressions_2eproto = nullptr; @@ -316,6 +346,24 @@ const uint32_t TableStruct_substrait_2ftype_5fexpressions_2eproto::offsets[] PRO PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionPrecisionTimestamp, variation_pointer_), PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionPrecisionTimestamp, nullability_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalDay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalDay, precision_), + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalDay, variation_pointer_), + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalDay, nullability_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalCompound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalCompound, precision_), + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalCompound, variation_pointer_), + PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionIntervalCompound, nullability_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -451,6 +499,7 @@ const uint32_t TableStruct_substrait_2ftype_5fexpressions_2eproto::offsets[] PRO ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::substrait::DerivationExpression, kind_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -459,18 +508,20 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 18, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionFixedBinary)}, { 27, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionDecimal)}, { 37, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionPrecisionTimestamp)}, - { 46, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ)}, - { 55, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionStruct)}, - { 64, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionNamedStruct)}, - { 72, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionList)}, - { 81, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionMap)}, - { 91, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionUserDefined)}, - { 100, -1, -1, sizeof(::substrait::DerivationExpression_IfElse)}, - { 109, -1, -1, sizeof(::substrait::DerivationExpression_UnaryOp)}, - { 117, -1, -1, sizeof(::substrait::DerivationExpression_BinaryOp)}, - { 126, -1, -1, sizeof(::substrait::DerivationExpression_ReturnProgram_Assignment)}, - { 134, -1, -1, sizeof(::substrait::DerivationExpression_ReturnProgram)}, - { 142, -1, -1, sizeof(::substrait::DerivationExpression)}, + { 46, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionIntervalDay)}, + { 55, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionIntervalCompound)}, + { 64, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ)}, + { 73, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionStruct)}, + { 82, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionNamedStruct)}, + { 90, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionList)}, + { 99, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionMap)}, + { 109, -1, -1, sizeof(::substrait::DerivationExpression_ExpressionUserDefined)}, + { 118, -1, -1, sizeof(::substrait::DerivationExpression_IfElse)}, + { 127, -1, -1, sizeof(::substrait::DerivationExpression_UnaryOp)}, + { 135, -1, -1, sizeof(::substrait::DerivationExpression_BinaryOp)}, + { 144, -1, -1, sizeof(::substrait::DerivationExpression_ReturnProgram_Assignment)}, + { 152, -1, -1, sizeof(::substrait::DerivationExpression_ReturnProgram)}, + { 160, -1, -1, sizeof(::substrait::DerivationExpression)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -479,6 +530,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::substrait::_DerivationExpression_ExpressionFixedBinary_default_instance_), reinterpret_cast(&::substrait::_DerivationExpression_ExpressionDecimal_default_instance_), reinterpret_cast(&::substrait::_DerivationExpression_ExpressionPrecisionTimestamp_default_instance_), + reinterpret_cast(&::substrait::_DerivationExpression_ExpressionIntervalDay_default_instance_), + reinterpret_cast(&::substrait::_DerivationExpression_ExpressionIntervalCompound_default_instance_), reinterpret_cast(&::substrait::_DerivationExpression_ExpressionPrecisionTimestampTZ_default_instance_), reinterpret_cast(&::substrait::_DerivationExpression_ExpressionStruct_default_instance_), reinterpret_cast(&::substrait::_DerivationExpression_ExpressionNamedStruct_default_instance_), @@ -495,7 +548,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = const char descriptor_table_protodef_substrait_2ftype_5fexpressions_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n substrait/type_expressions.proto\022\tsubs" - "trait\032\024substrait/type.proto\"\322$\n\024Derivati" + "trait\032\024substrait/type.proto\"\200(\n\024Derivati" "onExpression\022\'\n\004bool\030\001 \001(\0132\027.substrait.T" "ype.BooleanH\000\022 \n\002i8\030\002 \001(\0132\022.substrait.Ty" "pe.I8H\000\022\"\n\003i16\030\003 \001(\0132\023.substrait.Type.I1" @@ -509,121 +562,132 @@ const char descriptor_table_protodef_substrait_2ftype_5fexpressions_2eproto[] PR "pB\002\030\001H\000\022$\n\004date\030\020 \001(\0132\024.substrait.Type.D" "ateH\000\022$\n\004time\030\021 \001(\0132\024.substrait.Type.Tim" "eH\000\0225\n\rinterval_year\030\023 \001(\0132\034.substrait.T" - "ype.IntervalYearH\000\0223\n\014interval_day\030\024 \001(\013" - "2\033.substrait.Type.IntervalDayH\000\0227\n\014times" - "tamp_tz\030\035 \001(\0132\033.substrait.Type.Timestamp" - "TZB\002\030\001H\000\022$\n\004uuid\030 \001(\0132\024.substrait.Type." - "UUIDH\000\022I\n\nfixed_char\030\025 \001(\01323.substrait.D" - "erivationExpression.ExpressionFixedCharH" - "\000\022D\n\007varchar\030\026 \001(\01321.substrait.Derivatio" - "nExpression.ExpressionVarCharH\000\022M\n\014fixed" - "_binary\030\027 \001(\01325.substrait.DerivationExpr" - "ession.ExpressionFixedBinaryH\000\022D\n\007decima" - "l\030\030 \001(\01321.substrait.DerivationExpression" - ".ExpressionDecimalH\000\022[\n\023precision_timest" - "amp\030( \001(\0132<.substrait.DerivationExpressi" - "on.ExpressionPrecisionTimestampH\000\022`\n\026pre" - "cision_timestamp_tz\030) \001(\0132>.substrait.De" - "rivationExpression.ExpressionPrecisionTi" - "mestampTZH\000\022B\n\006struct\030\031 \001(\01320.substrait." - "DerivationExpression.ExpressionStructH\000\022" - ">\n\004list\030\033 \001(\0132..substrait.DerivationExpr" - "ession.ExpressionListH\000\022<\n\003map\030\034 \001(\0132-.s" - "ubstrait.DerivationExpression.Expression" - "MapH\000\022M\n\014user_defined\030\036 \001(\01325.substrait." - "DerivationExpression.ExpressionUserDefin" - "edH\000\022\"\n\024user_defined_pointer\030\037 \001(\rB\002\030\001H\000" - "\022\035\n\023type_parameter_name\030! \001(\tH\000\022 \n\026integ" - "er_parameter_name\030\" \001(\tH\000\022\031\n\017integer_lit" - "eral\030# \001(\005H\000\022;\n\010unary_op\030$ \001(\0132\'.substra" - "it.DerivationExpression.UnaryOpH\000\022=\n\tbin" - "ary_op\030% \001(\0132(.substrait.DerivationExpre" - "ssion.BinaryOpH\000\0229\n\007if_else\030& \001(\0132&.subs" - "trait.DerivationExpression.IfElseH\000\022G\n\016r" - "eturn_program\030\' \001(\0132-.substrait.Derivati" - "onExpression.ReturnProgramH\000\032\223\001\n\023Express" - "ionFixedChar\022/\n\006length\030\001 \001(\0132\037.substrait" - ".DerivationExpression\022\031\n\021variation_point" - "er\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrai" - "t.Type.Nullability\032\221\001\n\021ExpressionVarChar" - "\022/\n\006length\030\001 \001(\0132\037.substrait.DerivationE" - "xpression\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013" - "nullability\030\003 \001(\0162\033.substrait.Type.Nulla" - "bility\032\225\001\n\025ExpressionFixedBinary\022/\n\006leng" - "th\030\001 \001(\0132\037.substrait.DerivationExpressio" - "n\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nullabil" - "ity\030\003 \001(\0162\033.substrait.Type.Nullability\032\304" - "\001\n\021ExpressionDecimal\022.\n\005scale\030\001 \001(\0132\037.su" - "bstrait.DerivationExpression\0222\n\tprecisio" - "n\030\002 \001(\0132\037.substrait.DerivationExpression" - "\022\031\n\021variation_pointer\030\003 \001(\r\0220\n\013nullabili" - "ty\030\004 \001(\0162\033.substrait.Type.Nullability\032\237\001" - "\n\034ExpressionPrecisionTimestamp\0222\n\tprecis" - "ion\030\001 \001(\0132\037.substrait.DerivationExpressi" - "on\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nullabi" - "lity\030\003 \001(\0162\033.substrait.Type.Nullability\032" - "\241\001\n\036ExpressionPrecisionTimestampTZ\0222\n\tpr" - "ecision\030\001 \001(\0132\037.substrait.DerivationExpr" - "ession\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nul" - "lability\030\003 \001(\0162\033.substrait.Type.Nullabil" - "ity\032\217\001\n\020ExpressionStruct\022.\n\005types\030\001 \003(\0132" + "ype.IntervalYearH\000\0227\n\014timestamp_tz\030\035 \001(\013" + "2\033.substrait.Type.TimestampTZB\002\030\001H\000\022$\n\004u" + "uid\030 \001(\0132\024.substrait.Type.UUIDH\000\022M\n\014int" + "erval_day\030\024 \001(\01325.substrait.DerivationEx" + "pression.ExpressionIntervalDayH\000\022W\n\021inte" + "rval_compound\030* \001(\0132:.substrait.Derivati" + "onExpression.ExpressionIntervalCompoundH" + "\000\022I\n\nfixed_char\030\025 \001(\01323.substrait.Deriva" + "tionExpression.ExpressionFixedCharH\000\022D\n\007" + "varchar\030\026 \001(\01321.substrait.DerivationExpr" + "ession.ExpressionVarCharH\000\022M\n\014fixed_bina" + "ry\030\027 \001(\01325.substrait.DerivationExpressio" + "n.ExpressionFixedBinaryH\000\022D\n\007decimal\030\030 \001" + "(\01321.substrait.DerivationExpression.Expr" + "essionDecimalH\000\022[\n\023precision_timestamp\030(" + " \001(\0132<.substrait.DerivationExpression.Ex" + "pressionPrecisionTimestampH\000\022`\n\026precisio" + "n_timestamp_tz\030) \001(\0132>.substrait.Derivat" + "ionExpression.ExpressionPrecisionTimesta" + "mpTZH\000\022B\n\006struct\030\031 \001(\01320.substrait.Deriv" + "ationExpression.ExpressionStructH\000\022>\n\004li" + "st\030\033 \001(\0132..substrait.DerivationExpressio" + "n.ExpressionListH\000\022<\n\003map\030\034 \001(\0132-.substr" + "ait.DerivationExpression.ExpressionMapH\000" + "\022M\n\014user_defined\030\036 \001(\01325.substrait.Deriv" + "ationExpression.ExpressionUserDefinedH\000\022" + "\"\n\024user_defined_pointer\030\037 \001(\rB\002\030\001H\000\022\035\n\023t" + "ype_parameter_name\030! \001(\tH\000\022 \n\026integer_pa" + "rameter_name\030\" \001(\tH\000\022\031\n\017integer_literal\030" + "# \001(\005H\000\022;\n\010unary_op\030$ \001(\0132\'.substrait.De" + "rivationExpression.UnaryOpH\000\022=\n\tbinary_o" + "p\030% \001(\0132(.substrait.DerivationExpression" + ".BinaryOpH\000\0229\n\007if_else\030& \001(\0132&.substrait" + ".DerivationExpression.IfElseH\000\022G\n\016return" + "_program\030\' \001(\0132-.substrait.DerivationExp" + "ression.ReturnProgramH\000\032\223\001\n\023ExpressionFi" + "xedChar\022/\n\006length\030\001 \001(\0132\037.substrait.Deri" + "vationExpression\022\031\n\021variation_pointer\030\002 " + "\001(\r\0220\n\013nullability\030\003 \001(\0162\033.substrait.Typ" + "e.Nullability\032\221\001\n\021ExpressionVarChar\022/\n\006l" + "ength\030\001 \001(\0132\037.substrait.DerivationExpres" + "sion\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nulla" + "bility\030\003 \001(\0162\033.substrait.Type.Nullabilit" + "y\032\225\001\n\025ExpressionFixedBinary\022/\n\006length\030\001 " + "\001(\0132\037.substrait.DerivationExpression\022\031\n\021" + "variation_pointer\030\002 \001(\r\0220\n\013nullability\030\003" + " \001(\0162\033.substrait.Type.Nullability\032\304\001\n\021Ex" + "pressionDecimal\022.\n\005scale\030\001 \001(\0132\037.substra" + "it.DerivationExpression\0222\n\tprecision\030\002 \001" + "(\0132\037.substrait.DerivationExpression\022\031\n\021v" + "ariation_pointer\030\003 \001(\r\0220\n\013nullability\030\004 " + "\001(\0162\033.substrait.Type.Nullability\032\237\001\n\034Exp" + "ressionPrecisionTimestamp\0222\n\tprecision\030\001" + " \001(\0132\037.substrait.DerivationExpression\022\031\n" + "\021variation_pointer\030\002 \001(\r\0220\n\013nullability\030" + "\003 \001(\0162\033.substrait.Type.Nullability\032\230\001\n\025E" + "xpressionIntervalDay\0222\n\tprecision\030\001 \001(\0132" + "\037.substrait.DerivationExpression\022\031\n\021vari" + "ation_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\016" + "2\033.substrait.Type.Nullability\032\235\001\n\032Expres" + "sionIntervalCompound\0222\n\tprecision\030\001 \001(\0132" "\037.substrait.DerivationExpression\022\031\n\021vari" "ation_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\016" - "2\033.substrait.Type.Nullability\032h\n\025Express" - "ionNamedStruct\022\r\n\005names\030\001 \003(\t\022@\n\006struct\030" - "\002 \001(\01320.substrait.DerivationExpression.E" - "xpressionStruct\032\214\001\n\016ExpressionList\022-\n\004ty" - "pe\030\001 \001(\0132\037.substrait.DerivationExpressio" - "n\022\031\n\021variation_pointer\030\002 \001(\r\0220\n\013nullabil" - "ity\030\003 \001(\0162\033.substrait.Type.Nullability\032\272" - "\001\n\rExpressionMap\022,\n\003key\030\001 \001(\0132\037.substrai" - "t.DerivationExpression\022.\n\005value\030\002 \001(\0132\037." - "substrait.DerivationExpression\022\031\n\021variat" - "ion_pointer\030\003 \001(\r\0220\n\013nullability\030\004 \001(\0162\033" - ".substrait.Type.Nullability\032z\n\025Expressio" - "nUserDefined\022\024\n\014type_pointer\030\001 \001(\r\022\031\n\021va" - "riation_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001" - "(\0162\033.substrait.Type.Nullability\032\251\001\n\006IfEl" - "se\0225\n\014if_condition\030\001 \001(\0132\037.substrait.Der" - "ivationExpression\0222\n\tif_return\030\002 \001(\0132\037.s" - "ubstrait.DerivationExpression\0224\n\013else_re" - "turn\030\003 \001(\0132\037.substrait.DerivationExpress" - "ion\032\312\001\n\007UnaryOp\022D\n\007op_type\030\001 \001(\01623.subst" - "rait.DerivationExpression.UnaryOp.UnaryO" - "pType\022,\n\003arg\030\002 \001(\0132\037.substrait.Derivatio" - "nExpression\"K\n\013UnaryOpType\022\035\n\031UNARY_OP_T" - "YPE_UNSPECIFIED\020\000\022\035\n\031UNARY_OP_TYPE_BOOLE" - "AN_NOT\020\001\032\240\004\n\010BinaryOp\022F\n\007op_type\030\001 \001(\01625" - ".substrait.DerivationExpression.BinaryOp" - ".BinaryOpType\022-\n\004arg1\030\002 \001(\0132\037.substrait." - "DerivationExpression\022-\n\004arg2\030\003 \001(\0132\037.sub" - "strait.DerivationExpression\"\355\002\n\014BinaryOp" - "Type\022\036\n\032BINARY_OP_TYPE_UNSPECIFIED\020\000\022\027\n\023" - "BINARY_OP_TYPE_PLUS\020\001\022\030\n\024BINARY_OP_TYPE_" - "MINUS\020\002\022\033\n\027BINARY_OP_TYPE_MULTIPLY\020\003\022\031\n\025" - "BINARY_OP_TYPE_DIVIDE\020\004\022\026\n\022BINARY_OP_TYP" - "E_MIN\020\005\022\026\n\022BINARY_OP_TYPE_MAX\020\006\022\037\n\033BINAR" - "Y_OP_TYPE_GREATER_THAN\020\007\022\034\n\030BINARY_OP_TY" - "PE_LESS_THAN\020\010\022\026\n\022BINARY_OP_TYPE_AND\020\t\022\025" - "\n\021BINARY_OP_TYPE_OR\020\n\022\031\n\025BINARY_OP_TYPE_" - "EQUALS\020\013\022\031\n\025BINARY_OP_TYPE_COVERS\020\014\032\352\001\n\r" - "ReturnProgram\022M\n\013assignments\030\001 \003(\01328.sub" - "strait.DerivationExpression.ReturnProgra" - "m.Assignment\0229\n\020final_expression\030\002 \001(\0132\037" - ".substrait.DerivationExpression\032O\n\nAssig" - "nment\022\014\n\004name\030\001 \001(\t\0223\n\nexpression\030\002 \001(\0132" - "\037.substrait.DerivationExpressionB\006\n\004kind" - "BW\n\022io.substrait.protoP\001Z*github.com/sub" - "strait-io/substrait-go/proto\252\002\022Substrait" - ".Protobufb\006proto3" + "2\033.substrait.Type.Nullability\032\241\001\n\036Expres" + "sionPrecisionTimestampTZ\0222\n\tprecision\030\001 " + "\001(\0132\037.substrait.DerivationExpression\022\031\n\021" + "variation_pointer\030\002 \001(\r\0220\n\013nullability\030\003" + " \001(\0162\033.substrait.Type.Nullability\032\217\001\n\020Ex" + "pressionStruct\022.\n\005types\030\001 \003(\0132\037.substrai" + "t.DerivationExpression\022\031\n\021variation_poin" + "ter\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.substra" + "it.Type.Nullability\032h\n\025ExpressionNamedSt" + "ruct\022\r\n\005names\030\001 \003(\t\022@\n\006struct\030\002 \001(\01320.su" + "bstrait.DerivationExpression.ExpressionS" + "truct\032\214\001\n\016ExpressionList\022-\n\004type\030\001 \001(\0132\037" + ".substrait.DerivationExpression\022\031\n\021varia" + "tion_pointer\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162" + "\033.substrait.Type.Nullability\032\272\001\n\rExpress" + "ionMap\022,\n\003key\030\001 \001(\0132\037.substrait.Derivati" + "onExpression\022.\n\005value\030\002 \001(\0132\037.substrait." + "DerivationExpression\022\031\n\021variation_pointe" + "r\030\003 \001(\r\0220\n\013nullability\030\004 \001(\0162\033.substrait" + ".Type.Nullability\032z\n\025ExpressionUserDefin" + "ed\022\024\n\014type_pointer\030\001 \001(\r\022\031\n\021variation_po" + "inter\030\002 \001(\r\0220\n\013nullability\030\003 \001(\0162\033.subst" + "rait.Type.Nullability\032\251\001\n\006IfElse\0225\n\014if_c" + "ondition\030\001 \001(\0132\037.substrait.DerivationExp" + "ression\0222\n\tif_return\030\002 \001(\0132\037.substrait.D" + "erivationExpression\0224\n\013else_return\030\003 \001(\013" + "2\037.substrait.DerivationExpression\032\312\001\n\007Un" + "aryOp\022D\n\007op_type\030\001 \001(\01623.substrait.Deriv" + "ationExpression.UnaryOp.UnaryOpType\022,\n\003a" + "rg\030\002 \001(\0132\037.substrait.DerivationExpressio" + "n\"K\n\013UnaryOpType\022\035\n\031UNARY_OP_TYPE_UNSPEC" + "IFIED\020\000\022\035\n\031UNARY_OP_TYPE_BOOLEAN_NOT\020\001\032\240" + "\004\n\010BinaryOp\022F\n\007op_type\030\001 \001(\01625.substrait" + ".DerivationExpression.BinaryOp.BinaryOpT" + "ype\022-\n\004arg1\030\002 \001(\0132\037.substrait.Derivation" + "Expression\022-\n\004arg2\030\003 \001(\0132\037.substrait.Der" + "ivationExpression\"\355\002\n\014BinaryOpType\022\036\n\032BI" + "NARY_OP_TYPE_UNSPECIFIED\020\000\022\027\n\023BINARY_OP_" + "TYPE_PLUS\020\001\022\030\n\024BINARY_OP_TYPE_MINUS\020\002\022\033\n" + "\027BINARY_OP_TYPE_MULTIPLY\020\003\022\031\n\025BINARY_OP_" + "TYPE_DIVIDE\020\004\022\026\n\022BINARY_OP_TYPE_MIN\020\005\022\026\n" + "\022BINARY_OP_TYPE_MAX\020\006\022\037\n\033BINARY_OP_TYPE_" + "GREATER_THAN\020\007\022\034\n\030BINARY_OP_TYPE_LESS_TH" + "AN\020\010\022\026\n\022BINARY_OP_TYPE_AND\020\t\022\025\n\021BINARY_O" + "P_TYPE_OR\020\n\022\031\n\025BINARY_OP_TYPE_EQUALS\020\013\022\031" + "\n\025BINARY_OP_TYPE_COVERS\020\014\032\352\001\n\rReturnProg" + "ram\022M\n\013assignments\030\001 \003(\01328.substrait.Der" + "ivationExpression.ReturnProgram.Assignme" + "nt\0229\n\020final_expression\030\002 \001(\0132\037.substrait" + ".DerivationExpression\032O\n\nAssignment\022\014\n\004n" + "ame\030\001 \001(\t\0223\n\nexpression\030\002 \001(\0132\037.substrai" + "t.DerivationExpressionB\006\n\004kindBW\n\022io.sub" + "strait.protoP\001Z*github.com/substrait-io/" + "substrait-go/proto\252\002\022Substrait.Protobufb" + "\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_substrait_2ftype_5fexpressions_2eproto_deps[1] = { &::descriptor_table_substrait_2ftype_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_substrait_2ftype_5fexpressions_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_substrait_2ftype_5fexpressions_2eproto = { - false, false, 4857, descriptor_table_protodef_substrait_2ftype_5fexpressions_2eproto, "substrait/type_expressions.proto", - &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, descriptor_table_substrait_2ftype_5fexpressions_2eproto_deps, 1, 17, + false, false, 5287, descriptor_table_protodef_substrait_2ftype_5fexpressions_2eproto, "substrait/type_expressions.proto", + &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, descriptor_table_substrait_2ftype_5fexpressions_2eproto_deps, 1, 19, schemas, file_default_instances, TableStruct_substrait_2ftype_5fexpressions_2eproto::offsets, file_level_metadata_substrait_2ftype_5fexpressions_2eproto, file_level_enum_descriptors_substrait_2ftype_5fexpressions_2eproto, file_level_service_descriptors_substrait_2ftype_5fexpressions_2eproto, }; @@ -1561,39 +1625,569 @@ void DerivationExpression_ExpressionDecimal::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DerivationExpression_ExpressionDecimal::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* DerivationExpression_ExpressionDecimal::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.DerivationExpression scale = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_scale(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.DerivationExpression precision = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 variation_pointer = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Type.Nullability nullability = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DerivationExpression_ExpressionDecimal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionDecimal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .substrait.DerivationExpression scale = 1; + if (this->_internal_has_scale()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::scale(this), target, stream); + } + + // .substrait.DerivationExpression precision = 2; + if (this->_internal_has_precision()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::precision(this), target, stream); + } + + // uint32 variation_pointer = 3; + if (this->_internal_variation_pointer() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_variation_pointer(), target); + } + + // .substrait.Type.Nullability nullability = 4; + if (this->_internal_nullability() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 4, this->_internal_nullability(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionDecimal) + return target; +} + +size_t DerivationExpression_ExpressionDecimal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionDecimal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .substrait.DerivationExpression scale = 1; + if (this->_internal_has_scale()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *scale_); + } + + // .substrait.DerivationExpression precision = 2; + if (this->_internal_has_precision()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *precision_); + } + + // uint32 variation_pointer = 3; + if (this->_internal_variation_pointer() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); + } + + // .substrait.Type.Nullability nullability = 4; + if (this->_internal_nullability() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionDecimal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + DerivationExpression_ExpressionDecimal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionDecimal::GetClassData() const { return &_class_data_; } + +void DerivationExpression_ExpressionDecimal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void DerivationExpression_ExpressionDecimal::MergeFrom(const DerivationExpression_ExpressionDecimal& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionDecimal) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_scale()) { + _internal_mutable_scale()->::substrait::DerivationExpression::MergeFrom(from._internal_scale()); + } + if (from._internal_has_precision()) { + _internal_mutable_precision()->::substrait::DerivationExpression::MergeFrom(from._internal_precision()); + } + if (from._internal_variation_pointer() != 0) { + _internal_set_variation_pointer(from._internal_variation_pointer()); + } + if (from._internal_nullability() != 0) { + _internal_set_nullability(from._internal_nullability()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DerivationExpression_ExpressionDecimal::CopyFrom(const DerivationExpression_ExpressionDecimal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionDecimal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DerivationExpression_ExpressionDecimal::IsInitialized() const { + return true; +} + +void DerivationExpression_ExpressionDecimal::InternalSwap(DerivationExpression_ExpressionDecimal* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionDecimal, nullability_) + + sizeof(DerivationExpression_ExpressionDecimal::nullability_) + - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionDecimal, scale_)>( + reinterpret_cast(&scale_), + reinterpret_cast(&other->scale_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionDecimal::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[3]); +} + +// =================================================================== + +class DerivationExpression_ExpressionPrecisionTimestamp::_Internal { + public: + static const ::substrait::DerivationExpression& precision(const DerivationExpression_ExpressionPrecisionTimestamp* msg); +}; + +const ::substrait::DerivationExpression& +DerivationExpression_ExpressionPrecisionTimestamp::_Internal::precision(const DerivationExpression_ExpressionPrecisionTimestamp* msg) { + return *msg->precision_; +} +DerivationExpression_ExpressionPrecisionTimestamp::DerivationExpression_ExpressionPrecisionTimestamp(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +} +DerivationExpression_ExpressionPrecisionTimestamp::DerivationExpression_ExpressionPrecisionTimestamp(const DerivationExpression_ExpressionPrecisionTimestamp& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_precision()) { + precision_ = new ::substrait::DerivationExpression(*from.precision_); + } else { + precision_ = nullptr; + } + ::memcpy(&variation_pointer_, &from.variation_pointer_, + static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + // @@protoc_insertion_point(copy_constructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +} + +inline void DerivationExpression_ExpressionPrecisionTimestamp::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&precision_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&precision_)) + sizeof(nullability_)); +} + +DerivationExpression_ExpressionPrecisionTimestamp::~DerivationExpression_ExpressionPrecisionTimestamp() { + // @@protoc_insertion_point(destructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void DerivationExpression_ExpressionPrecisionTimestamp::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete precision_; +} + +void DerivationExpression_ExpressionPrecisionTimestamp::ArenaDtor(void* object) { + DerivationExpression_ExpressionPrecisionTimestamp* _this = reinterpret_cast< DerivationExpression_ExpressionPrecisionTimestamp* >(object); + (void)_this; +} +void DerivationExpression_ExpressionPrecisionTimestamp::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void DerivationExpression_ExpressionPrecisionTimestamp::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void DerivationExpression_ExpressionPrecisionTimestamp::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; + ::memset(&variation_pointer_, 0, static_cast( + reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DerivationExpression_ExpressionPrecisionTimestamp::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .substrait.DerivationExpression precision = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 variation_pointer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .substrait.Type.Nullability nullability = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DerivationExpression_ExpressionPrecisionTimestamp::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .substrait.DerivationExpression precision = 1; + if (this->_internal_has_precision()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::precision(this), target, stream); + } + + // uint32 variation_pointer = 2; + if (this->_internal_variation_pointer() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_variation_pointer(), target); + } + + // .substrait.Type.Nullability nullability = 3; + if (this->_internal_nullability() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 3, this->_internal_nullability(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + return target; +} + +size_t DerivationExpression_ExpressionPrecisionTimestamp::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .substrait.DerivationExpression precision = 1; + if (this->_internal_has_precision()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *precision_); + } + + // uint32 variation_pointer = 2; + if (this->_internal_variation_pointer() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); + } + + // .substrait.Type.Nullability nullability = 3; + if (this->_internal_nullability() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionPrecisionTimestamp::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + DerivationExpression_ExpressionPrecisionTimestamp::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionPrecisionTimestamp::GetClassData() const { return &_class_data_; } + +void DerivationExpression_ExpressionPrecisionTimestamp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void DerivationExpression_ExpressionPrecisionTimestamp::MergeFrom(const DerivationExpression_ExpressionPrecisionTimestamp& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_precision()) { + _internal_mutable_precision()->::substrait::DerivationExpression::MergeFrom(from._internal_precision()); + } + if (from._internal_variation_pointer() != 0) { + _internal_set_variation_pointer(from._internal_variation_pointer()); + } + if (from._internal_nullability() != 0) { + _internal_set_nullability(from._internal_nullability()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DerivationExpression_ExpressionPrecisionTimestamp::CopyFrom(const DerivationExpression_ExpressionPrecisionTimestamp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DerivationExpression_ExpressionPrecisionTimestamp::IsInitialized() const { + return true; +} + +void DerivationExpression_ExpressionPrecisionTimestamp::InternalSwap(DerivationExpression_ExpressionPrecisionTimestamp* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionPrecisionTimestamp, nullability_) + + sizeof(DerivationExpression_ExpressionPrecisionTimestamp::nullability_) + - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionPrecisionTimestamp, precision_)>( + reinterpret_cast(&precision_), + reinterpret_cast(&other->precision_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionPrecisionTimestamp::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[4]); +} + +// =================================================================== + +class DerivationExpression_ExpressionIntervalDay::_Internal { + public: + static const ::substrait::DerivationExpression& precision(const DerivationExpression_ExpressionIntervalDay* msg); +}; + +const ::substrait::DerivationExpression& +DerivationExpression_ExpressionIntervalDay::_Internal::precision(const DerivationExpression_ExpressionIntervalDay* msg) { + return *msg->precision_; +} +DerivationExpression_ExpressionIntervalDay::DerivationExpression_ExpressionIntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:substrait.DerivationExpression.ExpressionIntervalDay) +} +DerivationExpression_ExpressionIntervalDay::DerivationExpression_ExpressionIntervalDay(const DerivationExpression_ExpressionIntervalDay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_precision()) { + precision_ = new ::substrait::DerivationExpression(*from.precision_); + } else { + precision_ = nullptr; + } + ::memcpy(&variation_pointer_, &from.variation_pointer_, + static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + // @@protoc_insertion_point(copy_constructor:substrait.DerivationExpression.ExpressionIntervalDay) +} + +inline void DerivationExpression_ExpressionIntervalDay::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&precision_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&nullability_) - + reinterpret_cast(&precision_)) + sizeof(nullability_)); +} + +DerivationExpression_ExpressionIntervalDay::~DerivationExpression_ExpressionIntervalDay() { + // @@protoc_insertion_point(destructor:substrait.DerivationExpression.ExpressionIntervalDay) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void DerivationExpression_ExpressionIntervalDay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete precision_; +} + +void DerivationExpression_ExpressionIntervalDay::ArenaDtor(void* object) { + DerivationExpression_ExpressionIntervalDay* _this = reinterpret_cast< DerivationExpression_ExpressionIntervalDay* >(object); + (void)_this; +} +void DerivationExpression_ExpressionIntervalDay::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void DerivationExpression_ExpressionIntervalDay::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void DerivationExpression_ExpressionIntervalDay::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.DerivationExpression.ExpressionIntervalDay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; + ::memset(&variation_pointer_, 0, static_cast( + reinterpret_cast(&nullability_) - + reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DerivationExpression_ExpressionIntervalDay::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .substrait.DerivationExpression scale = 1; + // .substrait.DerivationExpression precision = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_scale(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .substrait.DerivationExpression precision = 2; + // uint32 variation_pointer = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_precision(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // uint32 variation_pointer = 3; + // .substrait.Type.Nullability nullability = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - variation_pointer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .substrait.Type.Nullability nullability = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_nullability(static_cast<::substrait::Type_Nullability>(val)); @@ -1623,77 +2217,62 @@ const char* DerivationExpression_ExpressionDecimal::_InternalParse(const char* p #undef CHK_ } -uint8_t* DerivationExpression_ExpressionDecimal::_InternalSerialize( +uint8_t* DerivationExpression_ExpressionIntervalDay::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionDecimal) + // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionIntervalDay) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .substrait.DerivationExpression scale = 1; - if (this->_internal_has_scale()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::scale(this), target, stream); - } - - // .substrait.DerivationExpression precision = 2; + // .substrait.DerivationExpression precision = 1; if (this->_internal_has_precision()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 2, _Internal::precision(this), target, stream); + 1, _Internal::precision(this), target, stream); } - // uint32 variation_pointer = 3; + // uint32 variation_pointer = 2; if (this->_internal_variation_pointer() != 0) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_variation_pointer(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_variation_pointer(), target); } - // .substrait.Type.Nullability nullability = 4; + // .substrait.Type.Nullability nullability = 3; if (this->_internal_nullability() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_nullability(), target); + 3, this->_internal_nullability(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionDecimal) + // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionIntervalDay) return target; } -size_t DerivationExpression_ExpressionDecimal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionDecimal) +size_t DerivationExpression_ExpressionIntervalDay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionIntervalDay) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .substrait.DerivationExpression scale = 1; - if (this->_internal_has_scale()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *scale_); - } - - // .substrait.DerivationExpression precision = 2; + // .substrait.DerivationExpression precision = 1; if (this->_internal_has_precision()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *precision_); } - // uint32 variation_pointer = 3; + // uint32 variation_pointer = 2; if (this->_internal_variation_pointer() != 0) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_variation_pointer()); } - // .substrait.Type.Nullability nullability = 4; + // .substrait.Type.Nullability nullability = 3; if (this->_internal_nullability() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_nullability()); @@ -1702,28 +2281,25 @@ size_t DerivationExpression_ExpressionDecimal::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionDecimal::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionIntervalDay::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DerivationExpression_ExpressionDecimal::MergeImpl + DerivationExpression_ExpressionIntervalDay::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionDecimal::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionIntervalDay::GetClassData() const { return &_class_data_; } -void DerivationExpression_ExpressionDecimal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DerivationExpression_ExpressionIntervalDay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DerivationExpression_ExpressionDecimal::MergeFrom(const DerivationExpression_ExpressionDecimal& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionDecimal) +void DerivationExpression_ExpressionIntervalDay::MergeFrom(const DerivationExpression_ExpressionIntervalDay& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionIntervalDay) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_scale()) { - _internal_mutable_scale()->::substrait::DerivationExpression::MergeFrom(from._internal_scale()); - } if (from._internal_has_precision()) { _internal_mutable_precision()->::substrait::DerivationExpression::MergeFrom(from._internal_precision()); } @@ -1736,55 +2312,55 @@ void DerivationExpression_ExpressionDecimal::MergeFrom(const DerivationExpressio _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DerivationExpression_ExpressionDecimal::CopyFrom(const DerivationExpression_ExpressionDecimal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionDecimal) +void DerivationExpression_ExpressionIntervalDay::CopyFrom(const DerivationExpression_ExpressionIntervalDay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionIntervalDay) if (&from == this) return; Clear(); MergeFrom(from); } -bool DerivationExpression_ExpressionDecimal::IsInitialized() const { +bool DerivationExpression_ExpressionIntervalDay::IsInitialized() const { return true; } -void DerivationExpression_ExpressionDecimal::InternalSwap(DerivationExpression_ExpressionDecimal* other) { +void DerivationExpression_ExpressionIntervalDay::InternalSwap(DerivationExpression_ExpressionIntervalDay* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionDecimal, nullability_) - + sizeof(DerivationExpression_ExpressionDecimal::nullability_) - - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionDecimal, scale_)>( - reinterpret_cast(&scale_), - reinterpret_cast(&other->scale_)); + PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionIntervalDay, nullability_) + + sizeof(DerivationExpression_ExpressionIntervalDay::nullability_) + - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionIntervalDay, precision_)>( + reinterpret_cast(&precision_), + reinterpret_cast(&other->precision_)); } -::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionDecimal::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionIntervalDay::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[3]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[5]); } // =================================================================== -class DerivationExpression_ExpressionPrecisionTimestamp::_Internal { +class DerivationExpression_ExpressionIntervalCompound::_Internal { public: - static const ::substrait::DerivationExpression& precision(const DerivationExpression_ExpressionPrecisionTimestamp* msg); + static const ::substrait::DerivationExpression& precision(const DerivationExpression_ExpressionIntervalCompound* msg); }; const ::substrait::DerivationExpression& -DerivationExpression_ExpressionPrecisionTimestamp::_Internal::precision(const DerivationExpression_ExpressionPrecisionTimestamp* msg) { +DerivationExpression_ExpressionIntervalCompound::_Internal::precision(const DerivationExpression_ExpressionIntervalCompound* msg) { return *msg->precision_; } -DerivationExpression_ExpressionPrecisionTimestamp::DerivationExpression_ExpressionPrecisionTimestamp(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DerivationExpression_ExpressionIntervalCompound::DerivationExpression_ExpressionIntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + // @@protoc_insertion_point(arena_constructor:substrait.DerivationExpression.ExpressionIntervalCompound) } -DerivationExpression_ExpressionPrecisionTimestamp::DerivationExpression_ExpressionPrecisionTimestamp(const DerivationExpression_ExpressionPrecisionTimestamp& from) +DerivationExpression_ExpressionIntervalCompound::DerivationExpression_ExpressionIntervalCompound(const DerivationExpression_ExpressionIntervalCompound& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_precision()) { @@ -1795,40 +2371,40 @@ DerivationExpression_ExpressionPrecisionTimestamp::DerivationExpression_Expressi ::memcpy(&variation_pointer_, &from.variation_pointer_, static_cast(reinterpret_cast(&nullability_) - reinterpret_cast(&variation_pointer_)) + sizeof(nullability_)); - // @@protoc_insertion_point(copy_constructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + // @@protoc_insertion_point(copy_constructor:substrait.DerivationExpression.ExpressionIntervalCompound) } -inline void DerivationExpression_ExpressionPrecisionTimestamp::SharedCtor() { +inline void DerivationExpression_ExpressionIntervalCompound::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&precision_) - reinterpret_cast(this)), 0, static_cast(reinterpret_cast(&nullability_) - reinterpret_cast(&precision_)) + sizeof(nullability_)); } -DerivationExpression_ExpressionPrecisionTimestamp::~DerivationExpression_ExpressionPrecisionTimestamp() { - // @@protoc_insertion_point(destructor:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +DerivationExpression_ExpressionIntervalCompound::~DerivationExpression_ExpressionIntervalCompound() { + // @@protoc_insertion_point(destructor:substrait.DerivationExpression.ExpressionIntervalCompound) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void DerivationExpression_ExpressionPrecisionTimestamp::SharedDtor() { +inline void DerivationExpression_ExpressionIntervalCompound::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete precision_; } -void DerivationExpression_ExpressionPrecisionTimestamp::ArenaDtor(void* object) { - DerivationExpression_ExpressionPrecisionTimestamp* _this = reinterpret_cast< DerivationExpression_ExpressionPrecisionTimestamp* >(object); +void DerivationExpression_ExpressionIntervalCompound::ArenaDtor(void* object) { + DerivationExpression_ExpressionIntervalCompound* _this = reinterpret_cast< DerivationExpression_ExpressionIntervalCompound* >(object); (void)_this; } -void DerivationExpression_ExpressionPrecisionTimestamp::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void DerivationExpression_ExpressionIntervalCompound::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void DerivationExpression_ExpressionPrecisionTimestamp::SetCachedSize(int size) const { +void DerivationExpression_ExpressionIntervalCompound::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DerivationExpression_ExpressionPrecisionTimestamp::Clear() { -// @@protoc_insertion_point(message_clear_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +void DerivationExpression_ExpressionIntervalCompound::Clear() { +// @@protoc_insertion_point(message_clear_start:substrait.DerivationExpression.ExpressionIntervalCompound) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1843,7 +2419,7 @@ void DerivationExpression_ExpressionPrecisionTimestamp::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DerivationExpression_ExpressionPrecisionTimestamp::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* DerivationExpression_ExpressionIntervalCompound::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -1897,9 +2473,9 @@ const char* DerivationExpression_ExpressionPrecisionTimestamp::_InternalParse(co #undef CHK_ } -uint8_t* DerivationExpression_ExpressionPrecisionTimestamp::_InternalSerialize( +uint8_t* DerivationExpression_ExpressionIntervalCompound::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + // @@protoc_insertion_point(serialize_to_array_start:substrait.DerivationExpression.ExpressionIntervalCompound) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1928,12 +2504,12 @@ uint8_t* DerivationExpression_ExpressionPrecisionTimestamp::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionPrecisionTimestamp) + // @@protoc_insertion_point(serialize_to_array_end:substrait.DerivationExpression.ExpressionIntervalCompound) return target; } -size_t DerivationExpression_ExpressionPrecisionTimestamp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +size_t DerivationExpression_ExpressionIntervalCompound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:substrait.DerivationExpression.ExpressionIntervalCompound) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1961,21 +2537,21 @@ size_t DerivationExpression_ExpressionPrecisionTimestamp::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionPrecisionTimestamp::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DerivationExpression_ExpressionIntervalCompound::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DerivationExpression_ExpressionPrecisionTimestamp::MergeImpl + DerivationExpression_ExpressionIntervalCompound::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionPrecisionTimestamp::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DerivationExpression_ExpressionIntervalCompound::GetClassData() const { return &_class_data_; } -void DerivationExpression_ExpressionPrecisionTimestamp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DerivationExpression_ExpressionIntervalCompound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DerivationExpression_ExpressionPrecisionTimestamp::MergeFrom(const DerivationExpression_ExpressionPrecisionTimestamp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +void DerivationExpression_ExpressionIntervalCompound::MergeFrom(const DerivationExpression_ExpressionIntervalCompound& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:substrait.DerivationExpression.ExpressionIntervalCompound) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1992,32 +2568,32 @@ void DerivationExpression_ExpressionPrecisionTimestamp::MergeFrom(const Derivati _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DerivationExpression_ExpressionPrecisionTimestamp::CopyFrom(const DerivationExpression_ExpressionPrecisionTimestamp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionPrecisionTimestamp) +void DerivationExpression_ExpressionIntervalCompound::CopyFrom(const DerivationExpression_ExpressionIntervalCompound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:substrait.DerivationExpression.ExpressionIntervalCompound) if (&from == this) return; Clear(); MergeFrom(from); } -bool DerivationExpression_ExpressionPrecisionTimestamp::IsInitialized() const { +bool DerivationExpression_ExpressionIntervalCompound::IsInitialized() const { return true; } -void DerivationExpression_ExpressionPrecisionTimestamp::InternalSwap(DerivationExpression_ExpressionPrecisionTimestamp* other) { +void DerivationExpression_ExpressionIntervalCompound::InternalSwap(DerivationExpression_ExpressionIntervalCompound* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionPrecisionTimestamp, nullability_) - + sizeof(DerivationExpression_ExpressionPrecisionTimestamp::nullability_) - - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionPrecisionTimestamp, precision_)>( + PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionIntervalCompound, nullability_) + + sizeof(DerivationExpression_ExpressionIntervalCompound::nullability_) + - PROTOBUF_FIELD_OFFSET(DerivationExpression_ExpressionIntervalCompound, precision_)>( reinterpret_cast(&precision_), reinterpret_cast(&other->precision_)); } -::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionPrecisionTimestamp::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionIntervalCompound::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[4]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[6]); } // =================================================================== @@ -2273,7 +2849,7 @@ void DerivationExpression_ExpressionPrecisionTimestampTZ::InternalSwap(Derivatio ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionPrecisionTimestampTZ::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[5]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[7]); } // =================================================================== @@ -2521,7 +3097,7 @@ void DerivationExpression_ExpressionStruct::InternalSwap(DerivationExpression_Ex ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionStruct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[6]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[8]); } // =================================================================== @@ -2754,7 +3330,7 @@ void DerivationExpression_ExpressionNamedStruct::InternalSwap(DerivationExpressi ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionNamedStruct::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[7]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[9]); } // =================================================================== @@ -3010,7 +3586,7 @@ void DerivationExpression_ExpressionList::InternalSwap(DerivationExpression_Expr ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionList::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[8]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[10]); } // =================================================================== @@ -3307,7 +3883,7 @@ void DerivationExpression_ExpressionMap::InternalSwap(DerivationExpression_Expre ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionMap::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[9]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[11]); } // =================================================================== @@ -3544,7 +4120,7 @@ void DerivationExpression_ExpressionUserDefined::InternalSwap(DerivationExpressi ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ExpressionUserDefined::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[10]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[12]); } // =================================================================== @@ -3829,7 +4405,7 @@ void DerivationExpression_IfElse::InternalSwap(DerivationExpression_IfElse* othe ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_IfElse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[11]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[13]); } // =================================================================== @@ -4059,7 +4635,7 @@ void DerivationExpression_UnaryOp::InternalSwap(DerivationExpression_UnaryOp* ot ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_UnaryOp::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[12]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[14]); } // =================================================================== @@ -4330,7 +4906,7 @@ void DerivationExpression_BinaryOp::InternalSwap(DerivationExpression_BinaryOp* ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_BinaryOp::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[13]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[15]); } // =================================================================== @@ -4576,7 +5152,7 @@ void DerivationExpression_ReturnProgram_Assignment::InternalSwap(DerivationExpre ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ReturnProgram_Assignment::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[14]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[16]); } // =================================================================== @@ -4804,7 +5380,7 @@ void DerivationExpression_ReturnProgram::InternalSwap(DerivationExpression_Retur ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression_ReturnProgram::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[15]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[17]); } // =================================================================== @@ -4824,9 +5400,10 @@ class DerivationExpression::_Internal { static const ::substrait::Type_Date& date(const DerivationExpression* msg); static const ::substrait::Type_Time& time(const DerivationExpression* msg); static const ::substrait::Type_IntervalYear& interval_year(const DerivationExpression* msg); - static const ::substrait::Type_IntervalDay& interval_day(const DerivationExpression* msg); static const ::substrait::Type_TimestampTZ& timestamp_tz(const DerivationExpression* msg); static const ::substrait::Type_UUID& uuid(const DerivationExpression* msg); + static const ::substrait::DerivationExpression_ExpressionIntervalDay& interval_day(const DerivationExpression* msg); + static const ::substrait::DerivationExpression_ExpressionIntervalCompound& interval_compound(const DerivationExpression* msg); static const ::substrait::DerivationExpression_ExpressionFixedChar& fixed_char(const DerivationExpression* msg); static const ::substrait::DerivationExpression_ExpressionVarChar& varchar(const DerivationExpression* msg); static const ::substrait::DerivationExpression_ExpressionFixedBinary& fixed_binary(const DerivationExpression* msg); @@ -4895,10 +5472,6 @@ const ::substrait::Type_IntervalYear& DerivationExpression::_Internal::interval_year(const DerivationExpression* msg) { return *msg->kind_.interval_year_; } -const ::substrait::Type_IntervalDay& -DerivationExpression::_Internal::interval_day(const DerivationExpression* msg) { - return *msg->kind_.interval_day_; -} const ::substrait::Type_TimestampTZ& DerivationExpression::_Internal::timestamp_tz(const DerivationExpression* msg) { return *msg->kind_.timestamp_tz_; @@ -4907,6 +5480,14 @@ const ::substrait::Type_UUID& DerivationExpression::_Internal::uuid(const DerivationExpression* msg) { return *msg->kind_.uuid_; } +const ::substrait::DerivationExpression_ExpressionIntervalDay& +DerivationExpression::_Internal::interval_day(const DerivationExpression* msg) { + return *msg->kind_.interval_day_; +} +const ::substrait::DerivationExpression_ExpressionIntervalCompound& +DerivationExpression::_Internal::interval_compound(const DerivationExpression* msg) { + return *msg->kind_.interval_compound_; +} const ::substrait::DerivationExpression_ExpressionFixedChar& DerivationExpression::_Internal::fixed_char(const DerivationExpression* msg) { return *msg->kind_.fixed_char_; @@ -5288,31 +5869,6 @@ void DerivationExpression::clear_interval_year() { clear_has_kind(); } } -void DerivationExpression::set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_kind(); - if (interval_day) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interval_day)); - if (message_arena != submessage_arena) { - interval_day = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, interval_day, submessage_arena); - } - set_has_interval_day(); - kind_.interval_day_ = interval_day; - } - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.interval_day) -} -void DerivationExpression::clear_interval_day() { - if (_internal_has_interval_day()) { - if (GetArenaForAllocation() == nullptr) { - delete kind_.interval_day_; - } - clear_has_kind(); - } -} void DerivationExpression::set_allocated_timestamp_tz(::substrait::Type_TimestampTZ* timestamp_tz) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -5363,6 +5919,36 @@ void DerivationExpression::clear_uuid() { clear_has_kind(); } } +void DerivationExpression::set_allocated_interval_day(::substrait::DerivationExpression_ExpressionIntervalDay* interval_day) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (interval_day) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression_ExpressionIntervalDay>::GetOwningArena(interval_day); + if (message_arena != submessage_arena) { + interval_day = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_day, submessage_arena); + } + set_has_interval_day(); + kind_.interval_day_ = interval_day; + } + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.interval_day) +} +void DerivationExpression::set_allocated_interval_compound(::substrait::DerivationExpression_ExpressionIntervalCompound* interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (interval_compound) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression_ExpressionIntervalCompound>::GetOwningArena(interval_compound); + if (message_arena != submessage_arena) { + interval_compound = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interval_compound, submessage_arena); + } + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.interval_compound) +} void DerivationExpression::set_allocated_fixed_char(::substrait::DerivationExpression_ExpressionFixedChar* fixed_char) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -5639,10 +6225,6 @@ DerivationExpression::DerivationExpression(const DerivationExpression& from) _internal_mutable_interval_year()->::substrait::Type_IntervalYear::MergeFrom(from._internal_interval_year()); break; } - case kIntervalDay: { - _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); - break; - } case kTimestampTz: { _internal_mutable_timestamp_tz()->::substrait::Type_TimestampTZ::MergeFrom(from._internal_timestamp_tz()); break; @@ -5651,6 +6233,14 @@ DerivationExpression::DerivationExpression(const DerivationExpression& from) _internal_mutable_uuid()->::substrait::Type_UUID::MergeFrom(from._internal_uuid()); break; } + case kIntervalDay: { + _internal_mutable_interval_day()->::substrait::DerivationExpression_ExpressionIntervalDay::MergeFrom(from._internal_interval_day()); + break; + } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::DerivationExpression_ExpressionIntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kFixedChar: { _internal_mutable_fixed_char()->::substrait::DerivationExpression_ExpressionFixedChar::MergeFrom(from._internal_fixed_char()); break; @@ -5839,12 +6429,6 @@ void DerivationExpression::clear_kind() { } break; } - case kIntervalDay: { - if (GetArenaForAllocation() == nullptr) { - delete kind_.interval_day_; - } - break; - } case kTimestampTz: { if (GetArenaForAllocation() == nullptr) { delete kind_.timestamp_tz_; @@ -5857,6 +6441,18 @@ void DerivationExpression::clear_kind() { } break; } + case kIntervalDay: { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_day_; + } + break; + } + case kIntervalCompound: { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + break; + } case kFixedChar: { if (GetArenaForAllocation() == nullptr) { delete kind_.fixed_char_; @@ -6085,7 +6681,7 @@ const char* DerivationExpression::_InternalParse(const char* ptr, ::PROTOBUF_NAM } else goto handle_unusual; continue; - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.DerivationExpression.ExpressionIntervalDay interval_day = 20; case 20: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { ptr = ctx->ParseMessage(_internal_mutable_interval_day(), ptr); @@ -6257,6 +6853,14 @@ const char* DerivationExpression::_InternalParse(const char* ptr, ::PROTOBUF_NAM } else goto handle_unusual; continue; + // .substrait.DerivationExpression.ExpressionIntervalCompound interval_compound = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_interval_compound(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -6390,7 +6994,7 @@ uint8_t* DerivationExpression::_InternalSerialize( 19, _Internal::interval_year(this), target, stream); } - // .substrait.Type.IntervalDay interval_day = 20; + // .substrait.DerivationExpression.ExpressionIntervalDay interval_day = 20; if (_internal_has_interval_day()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -6558,6 +7162,14 @@ uint8_t* DerivationExpression::_InternalSerialize( 41, _Internal::precision_timestamp_tz(this), target, stream); } + // .substrait.DerivationExpression.ExpressionIntervalCompound interval_compound = 42; + if (_internal_has_interval_compound()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 42, _Internal::interval_compound(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -6666,13 +7278,6 @@ size_t DerivationExpression::ByteSizeLong() const { *kind_.interval_year_); break; } - // .substrait.Type.IntervalDay interval_day = 20; - case kIntervalDay: { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *kind_.interval_day_); - break; - } // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; case kTimestampTz: { total_size += 2 + @@ -6687,6 +7292,20 @@ size_t DerivationExpression::ByteSizeLong() const { *kind_.uuid_); break; } + // .substrait.DerivationExpression.ExpressionIntervalDay interval_day = 20; + case kIntervalDay: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *kind_.interval_day_); + break; + } + // .substrait.DerivationExpression.ExpressionIntervalCompound interval_compound = 42; + case kIntervalCompound: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *kind_.interval_compound_); + break; + } // .substrait.DerivationExpression.ExpressionFixedChar fixed_char = 21; case kFixedChar: { total_size += 2 + @@ -6892,10 +7511,6 @@ void DerivationExpression::MergeFrom(const DerivationExpression& from) { _internal_mutable_interval_year()->::substrait::Type_IntervalYear::MergeFrom(from._internal_interval_year()); break; } - case kIntervalDay: { - _internal_mutable_interval_day()->::substrait::Type_IntervalDay::MergeFrom(from._internal_interval_day()); - break; - } case kTimestampTz: { _internal_mutable_timestamp_tz()->::substrait::Type_TimestampTZ::MergeFrom(from._internal_timestamp_tz()); break; @@ -6904,6 +7519,14 @@ void DerivationExpression::MergeFrom(const DerivationExpression& from) { _internal_mutable_uuid()->::substrait::Type_UUID::MergeFrom(from._internal_uuid()); break; } + case kIntervalDay: { + _internal_mutable_interval_day()->::substrait::DerivationExpression_ExpressionIntervalDay::MergeFrom(from._internal_interval_day()); + break; + } + case kIntervalCompound: { + _internal_mutable_interval_compound()->::substrait::DerivationExpression_ExpressionIntervalCompound::MergeFrom(from._internal_interval_compound()); + break; + } case kFixedChar: { _internal_mutable_fixed_char()->::substrait::DerivationExpression_ExpressionFixedChar::MergeFrom(from._internal_fixed_char()); break; @@ -7004,7 +7627,7 @@ void DerivationExpression::InternalSwap(DerivationExpression* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DerivationExpression::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_substrait_2ftype_5fexpressions_2eproto_getter, &descriptor_table_substrait_2ftype_5fexpressions_2eproto_once, - file_level_metadata_substrait_2ftype_5fexpressions_2eproto[16]); + file_level_metadata_substrait_2ftype_5fexpressions_2eproto[18]); } // @@protoc_insertion_point(namespace_scope) @@ -7025,6 +7648,12 @@ template<> PROTOBUF_NOINLINE ::substrait::DerivationExpression_ExpressionDecimal template<> PROTOBUF_NOINLINE ::substrait::DerivationExpression_ExpressionPrecisionTimestamp* Arena::CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionPrecisionTimestamp >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::DerivationExpression_ExpressionPrecisionTimestamp >(arena); } +template<> PROTOBUF_NOINLINE ::substrait::DerivationExpression_ExpressionIntervalDay* Arena::CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionIntervalDay >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::DerivationExpression_ExpressionIntervalDay >(arena); +} +template<> PROTOBUF_NOINLINE ::substrait::DerivationExpression_ExpressionIntervalCompound* Arena::CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionIntervalCompound >(Arena* arena) { + return Arena::CreateMessageInternal< ::substrait::DerivationExpression_ExpressionIntervalCompound >(arena); +} template<> PROTOBUF_NOINLINE ::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ* Arena::CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ >(Arena* arena) { return Arena::CreateMessageInternal< ::substrait::DerivationExpression_ExpressionPrecisionTimestampTZ >(arena); } diff --git a/third_party/substrait/substrait/type_expressions.pb.h b/third_party/substrait/substrait/type_expressions.pb.h index c2f6f27..f1c92bc 100644 --- a/third_party/substrait/substrait/type_expressions.pb.h +++ b/third_party/substrait/substrait/type_expressions.pb.h @@ -48,7 +48,7 @@ struct TableStruct_substrait_2ftype_5fexpressions_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[17] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[19] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -71,6 +71,12 @@ extern DerivationExpression_ExpressionFixedBinaryDefaultTypeInternal _Derivation class DerivationExpression_ExpressionFixedChar; struct DerivationExpression_ExpressionFixedCharDefaultTypeInternal; extern DerivationExpression_ExpressionFixedCharDefaultTypeInternal _DerivationExpression_ExpressionFixedChar_default_instance_; +class DerivationExpression_ExpressionIntervalCompound; +struct DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal; +extern DerivationExpression_ExpressionIntervalCompoundDefaultTypeInternal _DerivationExpression_ExpressionIntervalCompound_default_instance_; +class DerivationExpression_ExpressionIntervalDay; +struct DerivationExpression_ExpressionIntervalDayDefaultTypeInternal; +extern DerivationExpression_ExpressionIntervalDayDefaultTypeInternal _DerivationExpression_ExpressionIntervalDay_default_instance_; class DerivationExpression_ExpressionList; struct DerivationExpression_ExpressionListDefaultTypeInternal; extern DerivationExpression_ExpressionListDefaultTypeInternal _DerivationExpression_ExpressionList_default_instance_; @@ -114,6 +120,8 @@ template<> ::substrait::DerivationExpression_BinaryOp* Arena::CreateMaybeMessage template<> ::substrait::DerivationExpression_ExpressionDecimal* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionDecimal>(Arena*); template<> ::substrait::DerivationExpression_ExpressionFixedBinary* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionFixedBinary>(Arena*); template<> ::substrait::DerivationExpression_ExpressionFixedChar* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionFixedChar>(Arena*); +template<> ::substrait::DerivationExpression_ExpressionIntervalCompound* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionIntervalCompound>(Arena*); +template<> ::substrait::DerivationExpression_ExpressionIntervalDay* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionIntervalDay>(Arena*); template<> ::substrait::DerivationExpression_ExpressionList* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionList>(Arena*); template<> ::substrait::DerivationExpression_ExpressionMap* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionMap>(Arena*); template<> ::substrait::DerivationExpression_ExpressionNamedStruct* Arena::CreateMaybeMessage<::substrait::DerivationExpression_ExpressionNamedStruct>(Arena*); @@ -1097,24 +1105,24 @@ class DerivationExpression_ExpressionPrecisionTimestamp final : }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionPrecisionTimestampTZ final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionPrecisionTimestampTZ) */ { +class DerivationExpression_ExpressionIntervalDay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionIntervalDay) */ { public: - inline DerivationExpression_ExpressionPrecisionTimestampTZ() : DerivationExpression_ExpressionPrecisionTimestampTZ(nullptr) {} - ~DerivationExpression_ExpressionPrecisionTimestampTZ() override; - explicit constexpr DerivationExpression_ExpressionPrecisionTimestampTZ(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionIntervalDay() : DerivationExpression_ExpressionIntervalDay(nullptr) {} + ~DerivationExpression_ExpressionIntervalDay() override; + explicit constexpr DerivationExpression_ExpressionIntervalDay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionPrecisionTimestampTZ(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); - DerivationExpression_ExpressionPrecisionTimestampTZ(DerivationExpression_ExpressionPrecisionTimestampTZ&& from) noexcept - : DerivationExpression_ExpressionPrecisionTimestampTZ() { + DerivationExpression_ExpressionIntervalDay(const DerivationExpression_ExpressionIntervalDay& from); + DerivationExpression_ExpressionIntervalDay(DerivationExpression_ExpressionIntervalDay&& from) noexcept + : DerivationExpression_ExpressionIntervalDay() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionPrecisionTimestampTZ& operator=(const DerivationExpression_ExpressionPrecisionTimestampTZ& from) { + inline DerivationExpression_ExpressionIntervalDay& operator=(const DerivationExpression_ExpressionIntervalDay& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionPrecisionTimestampTZ& operator=(DerivationExpression_ExpressionPrecisionTimestampTZ&& from) noexcept { + inline DerivationExpression_ExpressionIntervalDay& operator=(DerivationExpression_ExpressionIntervalDay&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1137,20 +1145,20 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionPrecisionTimestampTZ& default_instance() { + static const DerivationExpression_ExpressionIntervalDay& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionPrecisionTimestampTZ* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionPrecisionTimestampTZ_default_instance_); + static inline const DerivationExpression_ExpressionIntervalDay* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionIntervalDay_default_instance_); } static constexpr int kIndexInFileMessages = 5; - friend void swap(DerivationExpression_ExpressionPrecisionTimestampTZ& a, DerivationExpression_ExpressionPrecisionTimestampTZ& b) { + friend void swap(DerivationExpression_ExpressionIntervalDay& a, DerivationExpression_ExpressionIntervalDay& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionPrecisionTimestampTZ* other) { + inline void Swap(DerivationExpression_ExpressionIntervalDay* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1163,7 +1171,7 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionPrecisionTimestampTZ* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionIntervalDay* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1171,13 +1179,13 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionPrecisionTimestampTZ* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionIntervalDay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); + void CopyFrom(const DerivationExpression_ExpressionIntervalDay& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); + void MergeFrom(const DerivationExpression_ExpressionIntervalDay& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1194,15 +1202,15 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionPrecisionTimestampTZ* other); + void InternalSwap(DerivationExpression_ExpressionIntervalDay* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionPrecisionTimestampTZ"; + return "substrait.DerivationExpression.ExpressionIntervalDay"; } protected: - explicit DerivationExpression_ExpressionPrecisionTimestampTZ(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionIntervalDay(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1259,7 +1267,7 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : void _internal_set_nullability(::substrait::Type_Nullability value); public: - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionPrecisionTimestampTZ) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionIntervalDay) private: class _Internal; @@ -1274,24 +1282,24 @@ class DerivationExpression_ExpressionPrecisionTimestampTZ final : }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionStruct final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionStruct) */ { +class DerivationExpression_ExpressionIntervalCompound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionIntervalCompound) */ { public: - inline DerivationExpression_ExpressionStruct() : DerivationExpression_ExpressionStruct(nullptr) {} - ~DerivationExpression_ExpressionStruct() override; - explicit constexpr DerivationExpression_ExpressionStruct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionIntervalCompound() : DerivationExpression_ExpressionIntervalCompound(nullptr) {} + ~DerivationExpression_ExpressionIntervalCompound() override; + explicit constexpr DerivationExpression_ExpressionIntervalCompound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionStruct(const DerivationExpression_ExpressionStruct& from); - DerivationExpression_ExpressionStruct(DerivationExpression_ExpressionStruct&& from) noexcept - : DerivationExpression_ExpressionStruct() { + DerivationExpression_ExpressionIntervalCompound(const DerivationExpression_ExpressionIntervalCompound& from); + DerivationExpression_ExpressionIntervalCompound(DerivationExpression_ExpressionIntervalCompound&& from) noexcept + : DerivationExpression_ExpressionIntervalCompound() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionStruct& operator=(const DerivationExpression_ExpressionStruct& from) { + inline DerivationExpression_ExpressionIntervalCompound& operator=(const DerivationExpression_ExpressionIntervalCompound& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionStruct& operator=(DerivationExpression_ExpressionStruct&& from) noexcept { + inline DerivationExpression_ExpressionIntervalCompound& operator=(DerivationExpression_ExpressionIntervalCompound&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1314,20 +1322,20 @@ class DerivationExpression_ExpressionStruct final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionStruct& default_instance() { + static const DerivationExpression_ExpressionIntervalCompound& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionStruct* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionStruct_default_instance_); + static inline const DerivationExpression_ExpressionIntervalCompound* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionIntervalCompound_default_instance_); } static constexpr int kIndexInFileMessages = 6; - friend void swap(DerivationExpression_ExpressionStruct& a, DerivationExpression_ExpressionStruct& b) { + friend void swap(DerivationExpression_ExpressionIntervalCompound& a, DerivationExpression_ExpressionIntervalCompound& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionStruct* other) { + inline void Swap(DerivationExpression_ExpressionIntervalCompound* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1340,7 +1348,7 @@ class DerivationExpression_ExpressionStruct final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionStruct* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionIntervalCompound* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1348,13 +1356,13 @@ class DerivationExpression_ExpressionStruct final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionStruct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionIntervalCompound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionStruct& from); + void CopyFrom(const DerivationExpression_ExpressionIntervalCompound& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionStruct& from); + void MergeFrom(const DerivationExpression_ExpressionIntervalCompound& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1371,15 +1379,15 @@ class DerivationExpression_ExpressionStruct final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionStruct* other); + void InternalSwap(DerivationExpression_ExpressionIntervalCompound* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionStruct"; + return "substrait.DerivationExpression.ExpressionIntervalCompound"; } protected: - explicit DerivationExpression_ExpressionStruct(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionIntervalCompound(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1396,27 +1404,27 @@ class DerivationExpression_ExpressionStruct final : // accessors ------------------------------------------------------- enum : int { - kTypesFieldNumber = 1, + kPrecisionFieldNumber = 1, kVariationPointerFieldNumber = 2, kNullabilityFieldNumber = 3, }; - // repeated .substrait.DerivationExpression types = 1; - int types_size() const; + // .substrait.DerivationExpression precision = 1; + bool has_precision() const; private: - int _internal_types_size() const; + bool _internal_has_precision() const; public: - void clear_types(); - ::substrait::DerivationExpression* mutable_types(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression >* - mutable_types(); + void clear_precision(); + const ::substrait::DerivationExpression& precision() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_precision(); + ::substrait::DerivationExpression* mutable_precision(); + void set_allocated_precision(::substrait::DerivationExpression* precision); private: - const ::substrait::DerivationExpression& _internal_types(int index) const; - ::substrait::DerivationExpression* _internal_add_types(); + const ::substrait::DerivationExpression& _internal_precision() const; + ::substrait::DerivationExpression* _internal_mutable_precision(); public: - const ::substrait::DerivationExpression& types(int index) const; - ::substrait::DerivationExpression* add_types(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression >& - types() const; + void unsafe_arena_set_allocated_precision( + ::substrait::DerivationExpression* precision); + ::substrait::DerivationExpression* unsafe_arena_release_precision(); // uint32 variation_pointer = 2; void clear_variation_pointer(); @@ -1436,14 +1444,14 @@ class DerivationExpression_ExpressionStruct final : void _internal_set_nullability(::substrait::Type_Nullability value); public: - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionStruct) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionIntervalCompound) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression > types_; + ::substrait::DerivationExpression* precision_; uint32_t variation_pointer_; int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -1451,24 +1459,24 @@ class DerivationExpression_ExpressionStruct final : }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionNamedStruct final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionNamedStruct) */ { +class DerivationExpression_ExpressionPrecisionTimestampTZ final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionPrecisionTimestampTZ) */ { public: - inline DerivationExpression_ExpressionNamedStruct() : DerivationExpression_ExpressionNamedStruct(nullptr) {} - ~DerivationExpression_ExpressionNamedStruct() override; - explicit constexpr DerivationExpression_ExpressionNamedStruct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionPrecisionTimestampTZ() : DerivationExpression_ExpressionPrecisionTimestampTZ(nullptr) {} + ~DerivationExpression_ExpressionPrecisionTimestampTZ() override; + explicit constexpr DerivationExpression_ExpressionPrecisionTimestampTZ(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionNamedStruct(const DerivationExpression_ExpressionNamedStruct& from); - DerivationExpression_ExpressionNamedStruct(DerivationExpression_ExpressionNamedStruct&& from) noexcept - : DerivationExpression_ExpressionNamedStruct() { + DerivationExpression_ExpressionPrecisionTimestampTZ(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); + DerivationExpression_ExpressionPrecisionTimestampTZ(DerivationExpression_ExpressionPrecisionTimestampTZ&& from) noexcept + : DerivationExpression_ExpressionPrecisionTimestampTZ() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionNamedStruct& operator=(const DerivationExpression_ExpressionNamedStruct& from) { + inline DerivationExpression_ExpressionPrecisionTimestampTZ& operator=(const DerivationExpression_ExpressionPrecisionTimestampTZ& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionNamedStruct& operator=(DerivationExpression_ExpressionNamedStruct&& from) noexcept { + inline DerivationExpression_ExpressionPrecisionTimestampTZ& operator=(DerivationExpression_ExpressionPrecisionTimestampTZ&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1491,20 +1499,20 @@ class DerivationExpression_ExpressionNamedStruct final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionNamedStruct& default_instance() { + static const DerivationExpression_ExpressionPrecisionTimestampTZ& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionNamedStruct* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionNamedStruct_default_instance_); + static inline const DerivationExpression_ExpressionPrecisionTimestampTZ* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionPrecisionTimestampTZ_default_instance_); } static constexpr int kIndexInFileMessages = 7; - friend void swap(DerivationExpression_ExpressionNamedStruct& a, DerivationExpression_ExpressionNamedStruct& b) { + friend void swap(DerivationExpression_ExpressionPrecisionTimestampTZ& a, DerivationExpression_ExpressionPrecisionTimestampTZ& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionNamedStruct* other) { + inline void Swap(DerivationExpression_ExpressionPrecisionTimestampTZ* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1517,7 +1525,7 @@ class DerivationExpression_ExpressionNamedStruct final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionNamedStruct* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionPrecisionTimestampTZ* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1525,13 +1533,13 @@ class DerivationExpression_ExpressionNamedStruct final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionNamedStruct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionPrecisionTimestampTZ* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionNamedStruct& from); + void CopyFrom(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionNamedStruct& from); + void MergeFrom(const DerivationExpression_ExpressionPrecisionTimestampTZ& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1548,15 +1556,15 @@ class DerivationExpression_ExpressionNamedStruct final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionNamedStruct* other); + void InternalSwap(DerivationExpression_ExpressionPrecisionTimestampTZ* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionNamedStruct"; + return "substrait.DerivationExpression.ExpressionPrecisionTimestampTZ"; } protected: - explicit DerivationExpression_ExpressionNamedStruct(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionPrecisionTimestampTZ(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1573,83 +1581,79 @@ class DerivationExpression_ExpressionNamedStruct final : // accessors ------------------------------------------------------- enum : int { - kNamesFieldNumber = 1, - kStructFieldNumber = 2, + kPrecisionFieldNumber = 1, + kVariationPointerFieldNumber = 2, + kNullabilityFieldNumber = 3, }; - // repeated string names = 1; - int names_size() const; + // .substrait.DerivationExpression precision = 1; + bool has_precision() const; private: - int _internal_names_size() const; + bool _internal_has_precision() const; public: - void clear_names(); - const std::string& names(int index) const; - std::string* mutable_names(int index); - void set_names(int index, const std::string& value); - void set_names(int index, std::string&& value); - void set_names(int index, const char* value); - void set_names(int index, const char* value, size_t size); - std::string* add_names(); - void add_names(const std::string& value); - void add_names(std::string&& value); - void add_names(const char* value); - void add_names(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_names(); + void clear_precision(); + const ::substrait::DerivationExpression& precision() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_precision(); + ::substrait::DerivationExpression* mutable_precision(); + void set_allocated_precision(::substrait::DerivationExpression* precision); private: - const std::string& _internal_names(int index) const; - std::string* _internal_add_names(); + const ::substrait::DerivationExpression& _internal_precision() const; + ::substrait::DerivationExpression* _internal_mutable_precision(); public: + void unsafe_arena_set_allocated_precision( + ::substrait::DerivationExpression* precision); + ::substrait::DerivationExpression* unsafe_arena_release_precision(); - // .substrait.DerivationExpression.ExpressionStruct struct = 2; - bool has_struct_() const; + // uint32 variation_pointer = 2; + void clear_variation_pointer(); + uint32_t variation_pointer() const; + void set_variation_pointer(uint32_t value); private: - bool _internal_has_struct_() const; + uint32_t _internal_variation_pointer() const; + void _internal_set_variation_pointer(uint32_t value); public: - void clear_struct_(); - const ::substrait::DerivationExpression_ExpressionStruct& struct_() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression_ExpressionStruct* release_struct_(); - ::substrait::DerivationExpression_ExpressionStruct* mutable_struct_(); - void set_allocated_struct_(::substrait::DerivationExpression_ExpressionStruct* struct_); + + // .substrait.Type.Nullability nullability = 3; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); private: - const ::substrait::DerivationExpression_ExpressionStruct& _internal_struct_() const; - ::substrait::DerivationExpression_ExpressionStruct* _internal_mutable_struct_(); + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); public: - void unsafe_arena_set_allocated_struct_( - ::substrait::DerivationExpression_ExpressionStruct* struct_); - ::substrait::DerivationExpression_ExpressionStruct* unsafe_arena_release_struct_(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionNamedStruct) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionPrecisionTimestampTZ) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField names_; - ::substrait::DerivationExpression_ExpressionStruct* struct__; + ::substrait::DerivationExpression* precision_; + uint32_t variation_pointer_; + int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionList final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionList) */ { +class DerivationExpression_ExpressionStruct final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionStruct) */ { public: - inline DerivationExpression_ExpressionList() : DerivationExpression_ExpressionList(nullptr) {} - ~DerivationExpression_ExpressionList() override; - explicit constexpr DerivationExpression_ExpressionList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionStruct() : DerivationExpression_ExpressionStruct(nullptr) {} + ~DerivationExpression_ExpressionStruct() override; + explicit constexpr DerivationExpression_ExpressionStruct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionList(const DerivationExpression_ExpressionList& from); - DerivationExpression_ExpressionList(DerivationExpression_ExpressionList&& from) noexcept - : DerivationExpression_ExpressionList() { + DerivationExpression_ExpressionStruct(const DerivationExpression_ExpressionStruct& from); + DerivationExpression_ExpressionStruct(DerivationExpression_ExpressionStruct&& from) noexcept + : DerivationExpression_ExpressionStruct() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionList& operator=(const DerivationExpression_ExpressionList& from) { + inline DerivationExpression_ExpressionStruct& operator=(const DerivationExpression_ExpressionStruct& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionList& operator=(DerivationExpression_ExpressionList&& from) noexcept { + inline DerivationExpression_ExpressionStruct& operator=(DerivationExpression_ExpressionStruct&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1672,20 +1676,20 @@ class DerivationExpression_ExpressionList final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionList& default_instance() { + static const DerivationExpression_ExpressionStruct& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionList* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionList_default_instance_); + static inline const DerivationExpression_ExpressionStruct* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionStruct_default_instance_); } static constexpr int kIndexInFileMessages = 8; - friend void swap(DerivationExpression_ExpressionList& a, DerivationExpression_ExpressionList& b) { + friend void swap(DerivationExpression_ExpressionStruct& a, DerivationExpression_ExpressionStruct& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionList* other) { + inline void Swap(DerivationExpression_ExpressionStruct* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1698,7 +1702,7 @@ class DerivationExpression_ExpressionList final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionList* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionStruct* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1706,13 +1710,13 @@ class DerivationExpression_ExpressionList final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionStruct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionList& from); + void CopyFrom(const DerivationExpression_ExpressionStruct& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionList& from); + void MergeFrom(const DerivationExpression_ExpressionStruct& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1729,15 +1733,15 @@ class DerivationExpression_ExpressionList final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionList* other); + void InternalSwap(DerivationExpression_ExpressionStruct* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionList"; + return "substrait.DerivationExpression.ExpressionStruct"; } protected: - explicit DerivationExpression_ExpressionList(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionStruct(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1754,27 +1758,27 @@ class DerivationExpression_ExpressionList final : // accessors ------------------------------------------------------- enum : int { - kTypeFieldNumber = 1, + kTypesFieldNumber = 1, kVariationPointerFieldNumber = 2, kNullabilityFieldNumber = 3, }; - // .substrait.DerivationExpression type = 1; - bool has_type() const; + // repeated .substrait.DerivationExpression types = 1; + int types_size() const; private: - bool _internal_has_type() const; + int _internal_types_size() const; public: - void clear_type(); - const ::substrait::DerivationExpression& type() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_type(); - ::substrait::DerivationExpression* mutable_type(); - void set_allocated_type(::substrait::DerivationExpression* type); + void clear_types(); + ::substrait::DerivationExpression* mutable_types(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression >* + mutable_types(); private: - const ::substrait::DerivationExpression& _internal_type() const; - ::substrait::DerivationExpression* _internal_mutable_type(); + const ::substrait::DerivationExpression& _internal_types(int index) const; + ::substrait::DerivationExpression* _internal_add_types(); public: - void unsafe_arena_set_allocated_type( - ::substrait::DerivationExpression* type); - ::substrait::DerivationExpression* unsafe_arena_release_type(); + const ::substrait::DerivationExpression& types(int index) const; + ::substrait::DerivationExpression* add_types(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression >& + types() const; // uint32 variation_pointer = 2; void clear_variation_pointer(); @@ -1794,14 +1798,14 @@ class DerivationExpression_ExpressionList final : void _internal_set_nullability(::substrait::Type_Nullability value); public: - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionList) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionStruct) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::substrait::DerivationExpression* type_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression > types_; uint32_t variation_pointer_; int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -1809,24 +1813,24 @@ class DerivationExpression_ExpressionList final : }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionMap final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionMap) */ { +class DerivationExpression_ExpressionNamedStruct final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionNamedStruct) */ { public: - inline DerivationExpression_ExpressionMap() : DerivationExpression_ExpressionMap(nullptr) {} - ~DerivationExpression_ExpressionMap() override; - explicit constexpr DerivationExpression_ExpressionMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionNamedStruct() : DerivationExpression_ExpressionNamedStruct(nullptr) {} + ~DerivationExpression_ExpressionNamedStruct() override; + explicit constexpr DerivationExpression_ExpressionNamedStruct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionMap(const DerivationExpression_ExpressionMap& from); - DerivationExpression_ExpressionMap(DerivationExpression_ExpressionMap&& from) noexcept - : DerivationExpression_ExpressionMap() { + DerivationExpression_ExpressionNamedStruct(const DerivationExpression_ExpressionNamedStruct& from); + DerivationExpression_ExpressionNamedStruct(DerivationExpression_ExpressionNamedStruct&& from) noexcept + : DerivationExpression_ExpressionNamedStruct() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionMap& operator=(const DerivationExpression_ExpressionMap& from) { + inline DerivationExpression_ExpressionNamedStruct& operator=(const DerivationExpression_ExpressionNamedStruct& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionMap& operator=(DerivationExpression_ExpressionMap&& from) noexcept { + inline DerivationExpression_ExpressionNamedStruct& operator=(DerivationExpression_ExpressionNamedStruct&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1849,20 +1853,20 @@ class DerivationExpression_ExpressionMap final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionMap& default_instance() { + static const DerivationExpression_ExpressionNamedStruct& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionMap* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionMap_default_instance_); + static inline const DerivationExpression_ExpressionNamedStruct* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionNamedStruct_default_instance_); } static constexpr int kIndexInFileMessages = 9; - friend void swap(DerivationExpression_ExpressionMap& a, DerivationExpression_ExpressionMap& b) { + friend void swap(DerivationExpression_ExpressionNamedStruct& a, DerivationExpression_ExpressionNamedStruct& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionMap* other) { + inline void Swap(DerivationExpression_ExpressionNamedStruct* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1875,7 +1879,7 @@ class DerivationExpression_ExpressionMap final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionMap* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionNamedStruct* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1883,13 +1887,13 @@ class DerivationExpression_ExpressionMap final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionNamedStruct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionMap& from); + void CopyFrom(const DerivationExpression_ExpressionNamedStruct& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionMap& from); + void MergeFrom(const DerivationExpression_ExpressionNamedStruct& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1906,15 +1910,15 @@ class DerivationExpression_ExpressionMap final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionMap* other); + void InternalSwap(DerivationExpression_ExpressionNamedStruct* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionMap"; + return "substrait.DerivationExpression.ExpressionNamedStruct"; } protected: - explicit DerivationExpression_ExpressionMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionNamedStruct(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1931,99 +1935,83 @@ class DerivationExpression_ExpressionMap final : // accessors ------------------------------------------------------- enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - kVariationPointerFieldNumber = 3, - kNullabilityFieldNumber = 4, + kNamesFieldNumber = 1, + kStructFieldNumber = 2, }; - // .substrait.DerivationExpression key = 1; - bool has_key() const; - private: - bool _internal_has_key() const; - public: - void clear_key(); - const ::substrait::DerivationExpression& key() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_key(); - ::substrait::DerivationExpression* mutable_key(); - void set_allocated_key(::substrait::DerivationExpression* key); - private: - const ::substrait::DerivationExpression& _internal_key() const; - ::substrait::DerivationExpression* _internal_mutable_key(); - public: - void unsafe_arena_set_allocated_key( - ::substrait::DerivationExpression* key); - ::substrait::DerivationExpression* unsafe_arena_release_key(); - - // .substrait.DerivationExpression value = 2; - bool has_value() const; + // repeated string names = 1; + int names_size() const; private: - bool _internal_has_value() const; + int _internal_names_size() const; public: - void clear_value(); - const ::substrait::DerivationExpression& value() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_value(); - ::substrait::DerivationExpression* mutable_value(); - void set_allocated_value(::substrait::DerivationExpression* value); + void clear_names(); + const std::string& names(int index) const; + std::string* mutable_names(int index); + void set_names(int index, const std::string& value); + void set_names(int index, std::string&& value); + void set_names(int index, const char* value); + void set_names(int index, const char* value, size_t size); + std::string* add_names(); + void add_names(const std::string& value); + void add_names(std::string&& value); + void add_names(const char* value); + void add_names(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_names(); private: - const ::substrait::DerivationExpression& _internal_value() const; - ::substrait::DerivationExpression* _internal_mutable_value(); + const std::string& _internal_names(int index) const; + std::string* _internal_add_names(); public: - void unsafe_arena_set_allocated_value( - ::substrait::DerivationExpression* value); - ::substrait::DerivationExpression* unsafe_arena_release_value(); - // uint32 variation_pointer = 3; - void clear_variation_pointer(); - uint32_t variation_pointer() const; - void set_variation_pointer(uint32_t value); + // .substrait.DerivationExpression.ExpressionStruct struct = 2; + bool has_struct_() const; private: - uint32_t _internal_variation_pointer() const; - void _internal_set_variation_pointer(uint32_t value); + bool _internal_has_struct_() const; public: - - // .substrait.Type.Nullability nullability = 4; - void clear_nullability(); - ::substrait::Type_Nullability nullability() const; - void set_nullability(::substrait::Type_Nullability value); + void clear_struct_(); + const ::substrait::DerivationExpression_ExpressionStruct& struct_() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression_ExpressionStruct* release_struct_(); + ::substrait::DerivationExpression_ExpressionStruct* mutable_struct_(); + void set_allocated_struct_(::substrait::DerivationExpression_ExpressionStruct* struct_); private: - ::substrait::Type_Nullability _internal_nullability() const; - void _internal_set_nullability(::substrait::Type_Nullability value); + const ::substrait::DerivationExpression_ExpressionStruct& _internal_struct_() const; + ::substrait::DerivationExpression_ExpressionStruct* _internal_mutable_struct_(); public: + void unsafe_arena_set_allocated_struct_( + ::substrait::DerivationExpression_ExpressionStruct* struct_); + ::substrait::DerivationExpression_ExpressionStruct* unsafe_arena_release_struct_(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionMap) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionNamedStruct) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::substrait::DerivationExpression* key_; - ::substrait::DerivationExpression* value_; - uint32_t variation_pointer_; - int nullability_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField names_; + ::substrait::DerivationExpression_ExpressionStruct* struct__; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_ExpressionUserDefined final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionUserDefined) */ { +class DerivationExpression_ExpressionList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionList) */ { public: - inline DerivationExpression_ExpressionUserDefined() : DerivationExpression_ExpressionUserDefined(nullptr) {} - ~DerivationExpression_ExpressionUserDefined() override; - explicit constexpr DerivationExpression_ExpressionUserDefined(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionList() : DerivationExpression_ExpressionList(nullptr) {} + ~DerivationExpression_ExpressionList() override; + explicit constexpr DerivationExpression_ExpressionList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ExpressionUserDefined(const DerivationExpression_ExpressionUserDefined& from); - DerivationExpression_ExpressionUserDefined(DerivationExpression_ExpressionUserDefined&& from) noexcept - : DerivationExpression_ExpressionUserDefined() { + DerivationExpression_ExpressionList(const DerivationExpression_ExpressionList& from); + DerivationExpression_ExpressionList(DerivationExpression_ExpressionList&& from) noexcept + : DerivationExpression_ExpressionList() { *this = ::std::move(from); } - inline DerivationExpression_ExpressionUserDefined& operator=(const DerivationExpression_ExpressionUserDefined& from) { + inline DerivationExpression_ExpressionList& operator=(const DerivationExpression_ExpressionList& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ExpressionUserDefined& operator=(DerivationExpression_ExpressionUserDefined&& from) noexcept { + inline DerivationExpression_ExpressionList& operator=(DerivationExpression_ExpressionList&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2046,20 +2034,20 @@ class DerivationExpression_ExpressionUserDefined final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ExpressionUserDefined& default_instance() { + static const DerivationExpression_ExpressionList& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ExpressionUserDefined* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ExpressionUserDefined_default_instance_); + static inline const DerivationExpression_ExpressionList* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionList_default_instance_); } static constexpr int kIndexInFileMessages = 10; - friend void swap(DerivationExpression_ExpressionUserDefined& a, DerivationExpression_ExpressionUserDefined& b) { + friend void swap(DerivationExpression_ExpressionList& a, DerivationExpression_ExpressionList& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ExpressionUserDefined* other) { + inline void Swap(DerivationExpression_ExpressionList* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2072,7 +2060,7 @@ class DerivationExpression_ExpressionUserDefined final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ExpressionUserDefined* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionList* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2080,13 +2068,13 @@ class DerivationExpression_ExpressionUserDefined final : // implements Message ---------------------------------------------- - DerivationExpression_ExpressionUserDefined* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ExpressionUserDefined& from); + void CopyFrom(const DerivationExpression_ExpressionList& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ExpressionUserDefined& from); + void MergeFrom(const DerivationExpression_ExpressionList& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2103,15 +2091,15 @@ class DerivationExpression_ExpressionUserDefined final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ExpressionUserDefined* other); + void InternalSwap(DerivationExpression_ExpressionList* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ExpressionUserDefined"; + return "substrait.DerivationExpression.ExpressionList"; } protected: - explicit DerivationExpression_ExpressionUserDefined(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionList(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2128,18 +2116,27 @@ class DerivationExpression_ExpressionUserDefined final : // accessors ------------------------------------------------------- enum : int { - kTypePointerFieldNumber = 1, + kTypeFieldNumber = 1, kVariationPointerFieldNumber = 2, kNullabilityFieldNumber = 3, }; - // uint32 type_pointer = 1; - void clear_type_pointer(); - uint32_t type_pointer() const; - void set_type_pointer(uint32_t value); + // .substrait.DerivationExpression type = 1; + bool has_type() const; private: - uint32_t _internal_type_pointer() const; - void _internal_set_type_pointer(uint32_t value); + bool _internal_has_type() const; + public: + void clear_type(); + const ::substrait::DerivationExpression& type() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_type(); + ::substrait::DerivationExpression* mutable_type(); + void set_allocated_type(::substrait::DerivationExpression* type); + private: + const ::substrait::DerivationExpression& _internal_type() const; + ::substrait::DerivationExpression* _internal_mutable_type(); public: + void unsafe_arena_set_allocated_type( + ::substrait::DerivationExpression* type); + ::substrait::DerivationExpression* unsafe_arena_release_type(); // uint32 variation_pointer = 2; void clear_variation_pointer(); @@ -2159,14 +2156,14 @@ class DerivationExpression_ExpressionUserDefined final : void _internal_set_nullability(::substrait::Type_Nullability value); public: - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionUserDefined) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionList) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - uint32_t type_pointer_; + ::substrait::DerivationExpression* type_; uint32_t variation_pointer_; int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -2174,24 +2171,24 @@ class DerivationExpression_ExpressionUserDefined final : }; // ------------------------------------------------------------------- -class DerivationExpression_IfElse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.IfElse) */ { +class DerivationExpression_ExpressionMap final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionMap) */ { public: - inline DerivationExpression_IfElse() : DerivationExpression_IfElse(nullptr) {} - ~DerivationExpression_IfElse() override; - explicit constexpr DerivationExpression_IfElse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionMap() : DerivationExpression_ExpressionMap(nullptr) {} + ~DerivationExpression_ExpressionMap() override; + explicit constexpr DerivationExpression_ExpressionMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_IfElse(const DerivationExpression_IfElse& from); - DerivationExpression_IfElse(DerivationExpression_IfElse&& from) noexcept - : DerivationExpression_IfElse() { + DerivationExpression_ExpressionMap(const DerivationExpression_ExpressionMap& from); + DerivationExpression_ExpressionMap(DerivationExpression_ExpressionMap&& from) noexcept + : DerivationExpression_ExpressionMap() { *this = ::std::move(from); } - inline DerivationExpression_IfElse& operator=(const DerivationExpression_IfElse& from) { + inline DerivationExpression_ExpressionMap& operator=(const DerivationExpression_ExpressionMap& from) { CopyFrom(from); return *this; } - inline DerivationExpression_IfElse& operator=(DerivationExpression_IfElse&& from) noexcept { + inline DerivationExpression_ExpressionMap& operator=(DerivationExpression_ExpressionMap&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2214,20 +2211,20 @@ class DerivationExpression_IfElse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_IfElse& default_instance() { + static const DerivationExpression_ExpressionMap& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_IfElse* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_IfElse_default_instance_); + static inline const DerivationExpression_ExpressionMap* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionMap_default_instance_); } static constexpr int kIndexInFileMessages = 11; - friend void swap(DerivationExpression_IfElse& a, DerivationExpression_IfElse& b) { + friend void swap(DerivationExpression_ExpressionMap& a, DerivationExpression_ExpressionMap& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_IfElse* other) { + inline void Swap(DerivationExpression_ExpressionMap* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2240,7 +2237,7 @@ class DerivationExpression_IfElse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_IfElse* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionMap* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2248,13 +2245,13 @@ class DerivationExpression_IfElse final : // implements Message ---------------------------------------------- - DerivationExpression_IfElse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_IfElse& from); + void CopyFrom(const DerivationExpression_ExpressionMap& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_IfElse& from); + void MergeFrom(const DerivationExpression_ExpressionMap& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2271,15 +2268,15 @@ class DerivationExpression_IfElse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_IfElse* other); + void InternalSwap(DerivationExpression_ExpressionMap* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.IfElse"; + return "substrait.DerivationExpression.ExpressionMap"; } protected: - explicit DerivationExpression_IfElse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2296,97 +2293,99 @@ class DerivationExpression_IfElse final : // accessors ------------------------------------------------------- enum : int { - kIfConditionFieldNumber = 1, - kIfReturnFieldNumber = 2, - kElseReturnFieldNumber = 3, + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + kVariationPointerFieldNumber = 3, + kNullabilityFieldNumber = 4, }; - // .substrait.DerivationExpression if_condition = 1; - bool has_if_condition() const; + // .substrait.DerivationExpression key = 1; + bool has_key() const; private: - bool _internal_has_if_condition() const; + bool _internal_has_key() const; public: - void clear_if_condition(); - const ::substrait::DerivationExpression& if_condition() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_if_condition(); - ::substrait::DerivationExpression* mutable_if_condition(); - void set_allocated_if_condition(::substrait::DerivationExpression* if_condition); + void clear_key(); + const ::substrait::DerivationExpression& key() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_key(); + ::substrait::DerivationExpression* mutable_key(); + void set_allocated_key(::substrait::DerivationExpression* key); private: - const ::substrait::DerivationExpression& _internal_if_condition() const; - ::substrait::DerivationExpression* _internal_mutable_if_condition(); + const ::substrait::DerivationExpression& _internal_key() const; + ::substrait::DerivationExpression* _internal_mutable_key(); public: - void unsafe_arena_set_allocated_if_condition( - ::substrait::DerivationExpression* if_condition); - ::substrait::DerivationExpression* unsafe_arena_release_if_condition(); + void unsafe_arena_set_allocated_key( + ::substrait::DerivationExpression* key); + ::substrait::DerivationExpression* unsafe_arena_release_key(); - // .substrait.DerivationExpression if_return = 2; - bool has_if_return() const; + // .substrait.DerivationExpression value = 2; + bool has_value() const; private: - bool _internal_has_if_return() const; + bool _internal_has_value() const; public: - void clear_if_return(); - const ::substrait::DerivationExpression& if_return() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_if_return(); - ::substrait::DerivationExpression* mutable_if_return(); - void set_allocated_if_return(::substrait::DerivationExpression* if_return); + void clear_value(); + const ::substrait::DerivationExpression& value() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_value(); + ::substrait::DerivationExpression* mutable_value(); + void set_allocated_value(::substrait::DerivationExpression* value); private: - const ::substrait::DerivationExpression& _internal_if_return() const; - ::substrait::DerivationExpression* _internal_mutable_if_return(); + const ::substrait::DerivationExpression& _internal_value() const; + ::substrait::DerivationExpression* _internal_mutable_value(); public: - void unsafe_arena_set_allocated_if_return( - ::substrait::DerivationExpression* if_return); - ::substrait::DerivationExpression* unsafe_arena_release_if_return(); + void unsafe_arena_set_allocated_value( + ::substrait::DerivationExpression* value); + ::substrait::DerivationExpression* unsafe_arena_release_value(); - // .substrait.DerivationExpression else_return = 3; - bool has_else_return() const; + // uint32 variation_pointer = 3; + void clear_variation_pointer(); + uint32_t variation_pointer() const; + void set_variation_pointer(uint32_t value); private: - bool _internal_has_else_return() const; + uint32_t _internal_variation_pointer() const; + void _internal_set_variation_pointer(uint32_t value); public: - void clear_else_return(); - const ::substrait::DerivationExpression& else_return() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_else_return(); - ::substrait::DerivationExpression* mutable_else_return(); - void set_allocated_else_return(::substrait::DerivationExpression* else_return); + + // .substrait.Type.Nullability nullability = 4; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); private: - const ::substrait::DerivationExpression& _internal_else_return() const; - ::substrait::DerivationExpression* _internal_mutable_else_return(); + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); public: - void unsafe_arena_set_allocated_else_return( - ::substrait::DerivationExpression* else_return); - ::substrait::DerivationExpression* unsafe_arena_release_else_return(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.IfElse) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionMap) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::substrait::DerivationExpression* if_condition_; - ::substrait::DerivationExpression* if_return_; - ::substrait::DerivationExpression* else_return_; + ::substrait::DerivationExpression* key_; + ::substrait::DerivationExpression* value_; + uint32_t variation_pointer_; + int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_UnaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.UnaryOp) */ { +class DerivationExpression_ExpressionUserDefined final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ExpressionUserDefined) */ { public: - inline DerivationExpression_UnaryOp() : DerivationExpression_UnaryOp(nullptr) {} - ~DerivationExpression_UnaryOp() override; - explicit constexpr DerivationExpression_UnaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ExpressionUserDefined() : DerivationExpression_ExpressionUserDefined(nullptr) {} + ~DerivationExpression_ExpressionUserDefined() override; + explicit constexpr DerivationExpression_ExpressionUserDefined(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_UnaryOp(const DerivationExpression_UnaryOp& from); - DerivationExpression_UnaryOp(DerivationExpression_UnaryOp&& from) noexcept - : DerivationExpression_UnaryOp() { + DerivationExpression_ExpressionUserDefined(const DerivationExpression_ExpressionUserDefined& from); + DerivationExpression_ExpressionUserDefined(DerivationExpression_ExpressionUserDefined&& from) noexcept + : DerivationExpression_ExpressionUserDefined() { *this = ::std::move(from); } - inline DerivationExpression_UnaryOp& operator=(const DerivationExpression_UnaryOp& from) { + inline DerivationExpression_ExpressionUserDefined& operator=(const DerivationExpression_ExpressionUserDefined& from) { CopyFrom(from); return *this; } - inline DerivationExpression_UnaryOp& operator=(DerivationExpression_UnaryOp&& from) noexcept { + inline DerivationExpression_ExpressionUserDefined& operator=(DerivationExpression_ExpressionUserDefined&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2409,20 +2408,20 @@ class DerivationExpression_UnaryOp final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_UnaryOp& default_instance() { + static const DerivationExpression_ExpressionUserDefined& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_UnaryOp* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_UnaryOp_default_instance_); + static inline const DerivationExpression_ExpressionUserDefined* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ExpressionUserDefined_default_instance_); } static constexpr int kIndexInFileMessages = 12; - friend void swap(DerivationExpression_UnaryOp& a, DerivationExpression_UnaryOp& b) { + friend void swap(DerivationExpression_ExpressionUserDefined& a, DerivationExpression_ExpressionUserDefined& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_UnaryOp* other) { + inline void Swap(DerivationExpression_ExpressionUserDefined* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2435,7 +2434,7 @@ class DerivationExpression_UnaryOp final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_UnaryOp* other) { + void UnsafeArenaSwap(DerivationExpression_ExpressionUserDefined* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2443,13 +2442,13 @@ class DerivationExpression_UnaryOp final : // implements Message ---------------------------------------------- - DerivationExpression_UnaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_ExpressionUserDefined* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_UnaryOp& from); + void CopyFrom(const DerivationExpression_ExpressionUserDefined& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_UnaryOp& from); + void MergeFrom(const DerivationExpression_ExpressionUserDefined& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2466,15 +2465,15 @@ class DerivationExpression_UnaryOp final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_UnaryOp* other); + void InternalSwap(DerivationExpression_ExpressionUserDefined* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.UnaryOp"; + return "substrait.DerivationExpression.ExpressionUserDefined"; } protected: - explicit DerivationExpression_UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_ExpressionUserDefined(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2488,101 +2487,73 @@ class DerivationExpression_UnaryOp final : // nested types ---------------------------------------------------- - typedef DerivationExpression_UnaryOp_UnaryOpType UnaryOpType; - static constexpr UnaryOpType UNARY_OP_TYPE_UNSPECIFIED = - DerivationExpression_UnaryOp_UnaryOpType_UNARY_OP_TYPE_UNSPECIFIED; - static constexpr UnaryOpType UNARY_OP_TYPE_BOOLEAN_NOT = - DerivationExpression_UnaryOp_UnaryOpType_UNARY_OP_TYPE_BOOLEAN_NOT; - static inline bool UnaryOpType_IsValid(int value) { - return DerivationExpression_UnaryOp_UnaryOpType_IsValid(value); - } - static constexpr UnaryOpType UnaryOpType_MIN = - DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_MIN; - static constexpr UnaryOpType UnaryOpType_MAX = - DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_MAX; - static constexpr int UnaryOpType_ARRAYSIZE = - DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - UnaryOpType_descriptor() { - return DerivationExpression_UnaryOp_UnaryOpType_descriptor(); - } - template - static inline const std::string& UnaryOpType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function UnaryOpType_Name."); - return DerivationExpression_UnaryOp_UnaryOpType_Name(enum_t_value); - } - static inline bool UnaryOpType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - UnaryOpType* value) { - return DerivationExpression_UnaryOp_UnaryOpType_Parse(name, value); - } - // accessors ------------------------------------------------------- enum : int { - kArgFieldNumber = 2, - kOpTypeFieldNumber = 1, + kTypePointerFieldNumber = 1, + kVariationPointerFieldNumber = 2, + kNullabilityFieldNumber = 3, }; - // .substrait.DerivationExpression arg = 2; - bool has_arg() const; + // uint32 type_pointer = 1; + void clear_type_pointer(); + uint32_t type_pointer() const; + void set_type_pointer(uint32_t value); private: - bool _internal_has_arg() const; + uint32_t _internal_type_pointer() const; + void _internal_set_type_pointer(uint32_t value); public: - void clear_arg(); - const ::substrait::DerivationExpression& arg() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg(); - ::substrait::DerivationExpression* mutable_arg(); - void set_allocated_arg(::substrait::DerivationExpression* arg); + + // uint32 variation_pointer = 2; + void clear_variation_pointer(); + uint32_t variation_pointer() const; + void set_variation_pointer(uint32_t value); private: - const ::substrait::DerivationExpression& _internal_arg() const; - ::substrait::DerivationExpression* _internal_mutable_arg(); + uint32_t _internal_variation_pointer() const; + void _internal_set_variation_pointer(uint32_t value); public: - void unsafe_arena_set_allocated_arg( - ::substrait::DerivationExpression* arg); - ::substrait::DerivationExpression* unsafe_arena_release_arg(); - // .substrait.DerivationExpression.UnaryOp.UnaryOpType op_type = 1; - void clear_op_type(); - ::substrait::DerivationExpression_UnaryOp_UnaryOpType op_type() const; - void set_op_type(::substrait::DerivationExpression_UnaryOp_UnaryOpType value); + // .substrait.Type.Nullability nullability = 3; + void clear_nullability(); + ::substrait::Type_Nullability nullability() const; + void set_nullability(::substrait::Type_Nullability value); private: - ::substrait::DerivationExpression_UnaryOp_UnaryOpType _internal_op_type() const; - void _internal_set_op_type(::substrait::DerivationExpression_UnaryOp_UnaryOpType value); + ::substrait::Type_Nullability _internal_nullability() const; + void _internal_set_nullability(::substrait::Type_Nullability value); public: - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.UnaryOp) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ExpressionUserDefined) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::substrait::DerivationExpression* arg_; - int op_type_; + uint32_t type_pointer_; + uint32_t variation_pointer_; + int nullability_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_BinaryOp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.BinaryOp) */ { +class DerivationExpression_IfElse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.IfElse) */ { public: - inline DerivationExpression_BinaryOp() : DerivationExpression_BinaryOp(nullptr) {} - ~DerivationExpression_BinaryOp() override; - explicit constexpr DerivationExpression_BinaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_IfElse() : DerivationExpression_IfElse(nullptr) {} + ~DerivationExpression_IfElse() override; + explicit constexpr DerivationExpression_IfElse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_BinaryOp(const DerivationExpression_BinaryOp& from); - DerivationExpression_BinaryOp(DerivationExpression_BinaryOp&& from) noexcept - : DerivationExpression_BinaryOp() { + DerivationExpression_IfElse(const DerivationExpression_IfElse& from); + DerivationExpression_IfElse(DerivationExpression_IfElse&& from) noexcept + : DerivationExpression_IfElse() { *this = ::std::move(from); } - inline DerivationExpression_BinaryOp& operator=(const DerivationExpression_BinaryOp& from) { + inline DerivationExpression_IfElse& operator=(const DerivationExpression_IfElse& from) { CopyFrom(from); return *this; } - inline DerivationExpression_BinaryOp& operator=(DerivationExpression_BinaryOp&& from) noexcept { + inline DerivationExpression_IfElse& operator=(DerivationExpression_IfElse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2605,20 +2576,20 @@ class DerivationExpression_BinaryOp final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_BinaryOp& default_instance() { + static const DerivationExpression_IfElse& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_BinaryOp* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_BinaryOp_default_instance_); + static inline const DerivationExpression_IfElse* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_IfElse_default_instance_); } static constexpr int kIndexInFileMessages = 13; - friend void swap(DerivationExpression_BinaryOp& a, DerivationExpression_BinaryOp& b) { + friend void swap(DerivationExpression_IfElse& a, DerivationExpression_IfElse& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_BinaryOp* other) { + inline void Swap(DerivationExpression_IfElse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2631,7 +2602,7 @@ class DerivationExpression_BinaryOp final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_BinaryOp* other) { + void UnsafeArenaSwap(DerivationExpression_IfElse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2639,13 +2610,13 @@ class DerivationExpression_BinaryOp final : // implements Message ---------------------------------------------- - DerivationExpression_BinaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_IfElse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_BinaryOp& from); + void CopyFrom(const DerivationExpression_IfElse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_BinaryOp& from); + void MergeFrom(const DerivationExpression_IfElse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2662,15 +2633,15 @@ class DerivationExpression_BinaryOp final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_BinaryOp* other); + void InternalSwap(DerivationExpression_IfElse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.BinaryOp"; + return "substrait.DerivationExpression.IfElse"; } protected: - explicit DerivationExpression_BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_IfElse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2684,143 +2655,100 @@ class DerivationExpression_BinaryOp final : // nested types ---------------------------------------------------- - typedef DerivationExpression_BinaryOp_BinaryOpType BinaryOpType; - static constexpr BinaryOpType BINARY_OP_TYPE_UNSPECIFIED = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_UNSPECIFIED; - static constexpr BinaryOpType BINARY_OP_TYPE_PLUS = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_PLUS; - static constexpr BinaryOpType BINARY_OP_TYPE_MINUS = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MINUS; - static constexpr BinaryOpType BINARY_OP_TYPE_MULTIPLY = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MULTIPLY; - static constexpr BinaryOpType BINARY_OP_TYPE_DIVIDE = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_DIVIDE; - static constexpr BinaryOpType BINARY_OP_TYPE_MIN = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MIN; - static constexpr BinaryOpType BINARY_OP_TYPE_MAX = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MAX; - static constexpr BinaryOpType BINARY_OP_TYPE_GREATER_THAN = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_GREATER_THAN; - static constexpr BinaryOpType BINARY_OP_TYPE_LESS_THAN = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_LESS_THAN; - static constexpr BinaryOpType BINARY_OP_TYPE_AND = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_AND; - static constexpr BinaryOpType BINARY_OP_TYPE_OR = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_OR; - static constexpr BinaryOpType BINARY_OP_TYPE_EQUALS = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_EQUALS; - static constexpr BinaryOpType BINARY_OP_TYPE_COVERS = - DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_COVERS; - static inline bool BinaryOpType_IsValid(int value) { - return DerivationExpression_BinaryOp_BinaryOpType_IsValid(value); - } - static constexpr BinaryOpType BinaryOpType_MIN = - DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_MIN; - static constexpr BinaryOpType BinaryOpType_MAX = - DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_MAX; - static constexpr int BinaryOpType_ARRAYSIZE = - DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - BinaryOpType_descriptor() { - return DerivationExpression_BinaryOp_BinaryOpType_descriptor(); - } - template - static inline const std::string& BinaryOpType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function BinaryOpType_Name."); - return DerivationExpression_BinaryOp_BinaryOpType_Name(enum_t_value); - } - static inline bool BinaryOpType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - BinaryOpType* value) { - return DerivationExpression_BinaryOp_BinaryOpType_Parse(name, value); - } - // accessors ------------------------------------------------------- enum : int { - kArg1FieldNumber = 2, - kArg2FieldNumber = 3, - kOpTypeFieldNumber = 1, + kIfConditionFieldNumber = 1, + kIfReturnFieldNumber = 2, + kElseReturnFieldNumber = 3, }; - // .substrait.DerivationExpression arg1 = 2; - bool has_arg1() const; + // .substrait.DerivationExpression if_condition = 1; + bool has_if_condition() const; private: - bool _internal_has_arg1() const; + bool _internal_has_if_condition() const; public: - void clear_arg1(); - const ::substrait::DerivationExpression& arg1() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg1(); - ::substrait::DerivationExpression* mutable_arg1(); - void set_allocated_arg1(::substrait::DerivationExpression* arg1); + void clear_if_condition(); + const ::substrait::DerivationExpression& if_condition() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_if_condition(); + ::substrait::DerivationExpression* mutable_if_condition(); + void set_allocated_if_condition(::substrait::DerivationExpression* if_condition); private: - const ::substrait::DerivationExpression& _internal_arg1() const; - ::substrait::DerivationExpression* _internal_mutable_arg1(); + const ::substrait::DerivationExpression& _internal_if_condition() const; + ::substrait::DerivationExpression* _internal_mutable_if_condition(); public: - void unsafe_arena_set_allocated_arg1( - ::substrait::DerivationExpression* arg1); - ::substrait::DerivationExpression* unsafe_arena_release_arg1(); + void unsafe_arena_set_allocated_if_condition( + ::substrait::DerivationExpression* if_condition); + ::substrait::DerivationExpression* unsafe_arena_release_if_condition(); - // .substrait.DerivationExpression arg2 = 3; - bool has_arg2() const; + // .substrait.DerivationExpression if_return = 2; + bool has_if_return() const; private: - bool _internal_has_arg2() const; + bool _internal_has_if_return() const; public: - void clear_arg2(); - const ::substrait::DerivationExpression& arg2() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg2(); - ::substrait::DerivationExpression* mutable_arg2(); - void set_allocated_arg2(::substrait::DerivationExpression* arg2); + void clear_if_return(); + const ::substrait::DerivationExpression& if_return() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_if_return(); + ::substrait::DerivationExpression* mutable_if_return(); + void set_allocated_if_return(::substrait::DerivationExpression* if_return); private: - const ::substrait::DerivationExpression& _internal_arg2() const; - ::substrait::DerivationExpression* _internal_mutable_arg2(); + const ::substrait::DerivationExpression& _internal_if_return() const; + ::substrait::DerivationExpression* _internal_mutable_if_return(); public: - void unsafe_arena_set_allocated_arg2( - ::substrait::DerivationExpression* arg2); - ::substrait::DerivationExpression* unsafe_arena_release_arg2(); + void unsafe_arena_set_allocated_if_return( + ::substrait::DerivationExpression* if_return); + ::substrait::DerivationExpression* unsafe_arena_release_if_return(); - // .substrait.DerivationExpression.BinaryOp.BinaryOpType op_type = 1; - void clear_op_type(); - ::substrait::DerivationExpression_BinaryOp_BinaryOpType op_type() const; - void set_op_type(::substrait::DerivationExpression_BinaryOp_BinaryOpType value); + // .substrait.DerivationExpression else_return = 3; + bool has_else_return() const; private: - ::substrait::DerivationExpression_BinaryOp_BinaryOpType _internal_op_type() const; - void _internal_set_op_type(::substrait::DerivationExpression_BinaryOp_BinaryOpType value); + bool _internal_has_else_return() const; public: + void clear_else_return(); + const ::substrait::DerivationExpression& else_return() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_else_return(); + ::substrait::DerivationExpression* mutable_else_return(); + void set_allocated_else_return(::substrait::DerivationExpression* else_return); + private: + const ::substrait::DerivationExpression& _internal_else_return() const; + ::substrait::DerivationExpression* _internal_mutable_else_return(); + public: + void unsafe_arena_set_allocated_else_return( + ::substrait::DerivationExpression* else_return); + ::substrait::DerivationExpression* unsafe_arena_release_else_return(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.BinaryOp) + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.IfElse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::substrait::DerivationExpression* arg1_; - ::substrait::DerivationExpression* arg2_; - int op_type_; + ::substrait::DerivationExpression* if_condition_; + ::substrait::DerivationExpression* if_return_; + ::substrait::DerivationExpression* else_return_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_ReturnProgram_Assignment final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ReturnProgram.Assignment) */ { +class DerivationExpression_UnaryOp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.UnaryOp) */ { public: - inline DerivationExpression_ReturnProgram_Assignment() : DerivationExpression_ReturnProgram_Assignment(nullptr) {} - ~DerivationExpression_ReturnProgram_Assignment() override; - explicit constexpr DerivationExpression_ReturnProgram_Assignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_UnaryOp() : DerivationExpression_UnaryOp(nullptr) {} + ~DerivationExpression_UnaryOp() override; + explicit constexpr DerivationExpression_UnaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ReturnProgram_Assignment(const DerivationExpression_ReturnProgram_Assignment& from); - DerivationExpression_ReturnProgram_Assignment(DerivationExpression_ReturnProgram_Assignment&& from) noexcept - : DerivationExpression_ReturnProgram_Assignment() { + DerivationExpression_UnaryOp(const DerivationExpression_UnaryOp& from); + DerivationExpression_UnaryOp(DerivationExpression_UnaryOp&& from) noexcept + : DerivationExpression_UnaryOp() { *this = ::std::move(from); } - inline DerivationExpression_ReturnProgram_Assignment& operator=(const DerivationExpression_ReturnProgram_Assignment& from) { + inline DerivationExpression_UnaryOp& operator=(const DerivationExpression_UnaryOp& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ReturnProgram_Assignment& operator=(DerivationExpression_ReturnProgram_Assignment&& from) noexcept { + inline DerivationExpression_UnaryOp& operator=(DerivationExpression_UnaryOp&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -2843,20 +2771,20 @@ class DerivationExpression_ReturnProgram_Assignment final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ReturnProgram_Assignment& default_instance() { + static const DerivationExpression_UnaryOp& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ReturnProgram_Assignment* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ReturnProgram_Assignment_default_instance_); + static inline const DerivationExpression_UnaryOp* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_UnaryOp_default_instance_); } static constexpr int kIndexInFileMessages = 14; - friend void swap(DerivationExpression_ReturnProgram_Assignment& a, DerivationExpression_ReturnProgram_Assignment& b) { + friend void swap(DerivationExpression_UnaryOp& a, DerivationExpression_UnaryOp& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ReturnProgram_Assignment* other) { + inline void Swap(DerivationExpression_UnaryOp* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -2869,7 +2797,7 @@ class DerivationExpression_ReturnProgram_Assignment final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ReturnProgram_Assignment* other) { + void UnsafeArenaSwap(DerivationExpression_UnaryOp* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -2877,13 +2805,13 @@ class DerivationExpression_ReturnProgram_Assignment final : // implements Message ---------------------------------------------- - DerivationExpression_ReturnProgram_Assignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_UnaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ReturnProgram_Assignment& from); + void CopyFrom(const DerivationExpression_UnaryOp& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ReturnProgram_Assignment& from); + void MergeFrom(const DerivationExpression_UnaryOp& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -2900,15 +2828,15 @@ class DerivationExpression_ReturnProgram_Assignment final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ReturnProgram_Assignment* other); + void InternalSwap(DerivationExpression_UnaryOp* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ReturnProgram.Assignment"; + return "substrait.DerivationExpression.UnaryOp"; } protected: - explicit DerivationExpression_ReturnProgram_Assignment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -2922,76 +2850,101 @@ class DerivationExpression_ReturnProgram_Assignment final : // nested types ---------------------------------------------------- - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kExpressionFieldNumber = 2, - }; - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // .substrait.DerivationExpression expression = 2; - bool has_expression() const; - private: - bool _internal_has_expression() const; - public: - void clear_expression(); - const ::substrait::DerivationExpression& expression() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_expression(); - ::substrait::DerivationExpression* mutable_expression(); - void set_allocated_expression(::substrait::DerivationExpression* expression); + typedef DerivationExpression_UnaryOp_UnaryOpType UnaryOpType; + static constexpr UnaryOpType UNARY_OP_TYPE_UNSPECIFIED = + DerivationExpression_UnaryOp_UnaryOpType_UNARY_OP_TYPE_UNSPECIFIED; + static constexpr UnaryOpType UNARY_OP_TYPE_BOOLEAN_NOT = + DerivationExpression_UnaryOp_UnaryOpType_UNARY_OP_TYPE_BOOLEAN_NOT; + static inline bool UnaryOpType_IsValid(int value) { + return DerivationExpression_UnaryOp_UnaryOpType_IsValid(value); + } + static constexpr UnaryOpType UnaryOpType_MIN = + DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_MIN; + static constexpr UnaryOpType UnaryOpType_MAX = + DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_MAX; + static constexpr int UnaryOpType_ARRAYSIZE = + DerivationExpression_UnaryOp_UnaryOpType_UnaryOpType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + UnaryOpType_descriptor() { + return DerivationExpression_UnaryOp_UnaryOpType_descriptor(); + } + template + static inline const std::string& UnaryOpType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function UnaryOpType_Name."); + return DerivationExpression_UnaryOp_UnaryOpType_Name(enum_t_value); + } + static inline bool UnaryOpType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + UnaryOpType* value) { + return DerivationExpression_UnaryOp_UnaryOpType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kArgFieldNumber = 2, + kOpTypeFieldNumber = 1, + }; + // .substrait.DerivationExpression arg = 2; + bool has_arg() const; private: - const ::substrait::DerivationExpression& _internal_expression() const; - ::substrait::DerivationExpression* _internal_mutable_expression(); + bool _internal_has_arg() const; public: - void unsafe_arena_set_allocated_expression( - ::substrait::DerivationExpression* expression); - ::substrait::DerivationExpression* unsafe_arena_release_expression(); + void clear_arg(); + const ::substrait::DerivationExpression& arg() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg(); + ::substrait::DerivationExpression* mutable_arg(); + void set_allocated_arg(::substrait::DerivationExpression* arg); + private: + const ::substrait::DerivationExpression& _internal_arg() const; + ::substrait::DerivationExpression* _internal_mutable_arg(); + public: + void unsafe_arena_set_allocated_arg( + ::substrait::DerivationExpression* arg); + ::substrait::DerivationExpression* unsafe_arena_release_arg(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ReturnProgram.Assignment) + // .substrait.DerivationExpression.UnaryOp.UnaryOpType op_type = 1; + void clear_op_type(); + ::substrait::DerivationExpression_UnaryOp_UnaryOpType op_type() const; + void set_op_type(::substrait::DerivationExpression_UnaryOp_UnaryOpType value); + private: + ::substrait::DerivationExpression_UnaryOp_UnaryOpType _internal_op_type() const; + void _internal_set_op_type(::substrait::DerivationExpression_UnaryOp_UnaryOpType value); + public: + + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.UnaryOp) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::substrait::DerivationExpression* expression_; + ::substrait::DerivationExpression* arg_; + int op_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression_ReturnProgram final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ReturnProgram) */ { +class DerivationExpression_BinaryOp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.BinaryOp) */ { public: - inline DerivationExpression_ReturnProgram() : DerivationExpression_ReturnProgram(nullptr) {} - ~DerivationExpression_ReturnProgram() override; - explicit constexpr DerivationExpression_ReturnProgram(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_BinaryOp() : DerivationExpression_BinaryOp(nullptr) {} + ~DerivationExpression_BinaryOp() override; + explicit constexpr DerivationExpression_BinaryOp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DerivationExpression_ReturnProgram(const DerivationExpression_ReturnProgram& from); - DerivationExpression_ReturnProgram(DerivationExpression_ReturnProgram&& from) noexcept - : DerivationExpression_ReturnProgram() { + DerivationExpression_BinaryOp(const DerivationExpression_BinaryOp& from); + DerivationExpression_BinaryOp(DerivationExpression_BinaryOp&& from) noexcept + : DerivationExpression_BinaryOp() { *this = ::std::move(from); } - inline DerivationExpression_ReturnProgram& operator=(const DerivationExpression_ReturnProgram& from) { + inline DerivationExpression_BinaryOp& operator=(const DerivationExpression_BinaryOp& from) { CopyFrom(from); return *this; } - inline DerivationExpression_ReturnProgram& operator=(DerivationExpression_ReturnProgram&& from) noexcept { + inline DerivationExpression_BinaryOp& operator=(DerivationExpression_BinaryOp&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -3014,20 +2967,20 @@ class DerivationExpression_ReturnProgram final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DerivationExpression_ReturnProgram& default_instance() { + static const DerivationExpression_BinaryOp& default_instance() { return *internal_default_instance(); } - static inline const DerivationExpression_ReturnProgram* internal_default_instance() { - return reinterpret_cast( - &_DerivationExpression_ReturnProgram_default_instance_); + static inline const DerivationExpression_BinaryOp* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_BinaryOp_default_instance_); } static constexpr int kIndexInFileMessages = 15; - friend void swap(DerivationExpression_ReturnProgram& a, DerivationExpression_ReturnProgram& b) { + friend void swap(DerivationExpression_BinaryOp& a, DerivationExpression_BinaryOp& b) { a.Swap(&b); } - inline void Swap(DerivationExpression_ReturnProgram* other) { + inline void Swap(DerivationExpression_BinaryOp* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -3040,7 +2993,7 @@ class DerivationExpression_ReturnProgram final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DerivationExpression_ReturnProgram* other) { + void UnsafeArenaSwap(DerivationExpression_BinaryOp* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -3048,13 +3001,13 @@ class DerivationExpression_ReturnProgram final : // implements Message ---------------------------------------------- - DerivationExpression_ReturnProgram* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DerivationExpression_BinaryOp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DerivationExpression_ReturnProgram& from); + void CopyFrom(const DerivationExpression_BinaryOp& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DerivationExpression_ReturnProgram& from); + void MergeFrom(const DerivationExpression_BinaryOp& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -3071,15 +3024,15 @@ class DerivationExpression_ReturnProgram final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DerivationExpression_ReturnProgram* other); + void InternalSwap(DerivationExpression_BinaryOp* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "substrait.DerivationExpression.ReturnProgram"; + return "substrait.DerivationExpression.BinaryOp"; } protected: - explicit DerivationExpression_ReturnProgram(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DerivationExpression_BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -3093,70 +3046,479 @@ class DerivationExpression_ReturnProgram final : // nested types ---------------------------------------------------- - typedef DerivationExpression_ReturnProgram_Assignment Assignment; + typedef DerivationExpression_BinaryOp_BinaryOpType BinaryOpType; + static constexpr BinaryOpType BINARY_OP_TYPE_UNSPECIFIED = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_UNSPECIFIED; + static constexpr BinaryOpType BINARY_OP_TYPE_PLUS = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_PLUS; + static constexpr BinaryOpType BINARY_OP_TYPE_MINUS = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MINUS; + static constexpr BinaryOpType BINARY_OP_TYPE_MULTIPLY = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MULTIPLY; + static constexpr BinaryOpType BINARY_OP_TYPE_DIVIDE = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_DIVIDE; + static constexpr BinaryOpType BINARY_OP_TYPE_MIN = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MIN; + static constexpr BinaryOpType BINARY_OP_TYPE_MAX = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_MAX; + static constexpr BinaryOpType BINARY_OP_TYPE_GREATER_THAN = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_GREATER_THAN; + static constexpr BinaryOpType BINARY_OP_TYPE_LESS_THAN = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_LESS_THAN; + static constexpr BinaryOpType BINARY_OP_TYPE_AND = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_AND; + static constexpr BinaryOpType BINARY_OP_TYPE_OR = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_OR; + static constexpr BinaryOpType BINARY_OP_TYPE_EQUALS = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_EQUALS; + static constexpr BinaryOpType BINARY_OP_TYPE_COVERS = + DerivationExpression_BinaryOp_BinaryOpType_BINARY_OP_TYPE_COVERS; + static inline bool BinaryOpType_IsValid(int value) { + return DerivationExpression_BinaryOp_BinaryOpType_IsValid(value); + } + static constexpr BinaryOpType BinaryOpType_MIN = + DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_MIN; + static constexpr BinaryOpType BinaryOpType_MAX = + DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_MAX; + static constexpr int BinaryOpType_ARRAYSIZE = + DerivationExpression_BinaryOp_BinaryOpType_BinaryOpType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + BinaryOpType_descriptor() { + return DerivationExpression_BinaryOp_BinaryOpType_descriptor(); + } + template + static inline const std::string& BinaryOpType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function BinaryOpType_Name."); + return DerivationExpression_BinaryOp_BinaryOpType_Name(enum_t_value); + } + static inline bool BinaryOpType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + BinaryOpType* value) { + return DerivationExpression_BinaryOp_BinaryOpType_Parse(name, value); + } // accessors ------------------------------------------------------- enum : int { - kAssignmentsFieldNumber = 1, - kFinalExpressionFieldNumber = 2, + kArg1FieldNumber = 2, + kArg2FieldNumber = 3, + kOpTypeFieldNumber = 1, }; - // repeated .substrait.DerivationExpression.ReturnProgram.Assignment assignments = 1; - int assignments_size() const; + // .substrait.DerivationExpression arg1 = 2; + bool has_arg1() const; private: - int _internal_assignments_size() const; + bool _internal_has_arg1() const; public: - void clear_assignments(); - ::substrait::DerivationExpression_ReturnProgram_Assignment* mutable_assignments(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment >* - mutable_assignments(); + void clear_arg1(); + const ::substrait::DerivationExpression& arg1() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg1(); + ::substrait::DerivationExpression* mutable_arg1(); + void set_allocated_arg1(::substrait::DerivationExpression* arg1); private: - const ::substrait::DerivationExpression_ReturnProgram_Assignment& _internal_assignments(int index) const; - ::substrait::DerivationExpression_ReturnProgram_Assignment* _internal_add_assignments(); + const ::substrait::DerivationExpression& _internal_arg1() const; + ::substrait::DerivationExpression* _internal_mutable_arg1(); public: - const ::substrait::DerivationExpression_ReturnProgram_Assignment& assignments(int index) const; - ::substrait::DerivationExpression_ReturnProgram_Assignment* add_assignments(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment >& - assignments() const; + void unsafe_arena_set_allocated_arg1( + ::substrait::DerivationExpression* arg1); + ::substrait::DerivationExpression* unsafe_arena_release_arg1(); - // .substrait.DerivationExpression final_expression = 2; - bool has_final_expression() const; + // .substrait.DerivationExpression arg2 = 3; + bool has_arg2() const; private: - bool _internal_has_final_expression() const; + bool _internal_has_arg2() const; public: - void clear_final_expression(); - const ::substrait::DerivationExpression& final_expression() const; - PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_final_expression(); - ::substrait::DerivationExpression* mutable_final_expression(); - void set_allocated_final_expression(::substrait::DerivationExpression* final_expression); + void clear_arg2(); + const ::substrait::DerivationExpression& arg2() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_arg2(); + ::substrait::DerivationExpression* mutable_arg2(); + void set_allocated_arg2(::substrait::DerivationExpression* arg2); private: - const ::substrait::DerivationExpression& _internal_final_expression() const; - ::substrait::DerivationExpression* _internal_mutable_final_expression(); + const ::substrait::DerivationExpression& _internal_arg2() const; + ::substrait::DerivationExpression* _internal_mutable_arg2(); public: - void unsafe_arena_set_allocated_final_expression( - ::substrait::DerivationExpression* final_expression); - ::substrait::DerivationExpression* unsafe_arena_release_final_expression(); + void unsafe_arena_set_allocated_arg2( + ::substrait::DerivationExpression* arg2); + ::substrait::DerivationExpression* unsafe_arena_release_arg2(); - // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ReturnProgram) + // .substrait.DerivationExpression.BinaryOp.BinaryOpType op_type = 1; + void clear_op_type(); + ::substrait::DerivationExpression_BinaryOp_BinaryOpType op_type() const; + void set_op_type(::substrait::DerivationExpression_BinaryOp_BinaryOpType value); + private: + ::substrait::DerivationExpression_BinaryOp_BinaryOpType _internal_op_type() const; + void _internal_set_op_type(::substrait::DerivationExpression_BinaryOp_BinaryOpType value); + public: + + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.BinaryOp) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment > assignments_; - ::substrait::DerivationExpression* final_expression_; + ::substrait::DerivationExpression* arg1_; + ::substrait::DerivationExpression* arg2_; + int op_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; }; // ------------------------------------------------------------------- -class DerivationExpression final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression) */ { +class DerivationExpression_ReturnProgram_Assignment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ReturnProgram.Assignment) */ { public: - inline DerivationExpression() : DerivationExpression(nullptr) {} - ~DerivationExpression() override; - explicit constexpr DerivationExpression(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DerivationExpression_ReturnProgram_Assignment() : DerivationExpression_ReturnProgram_Assignment(nullptr) {} + ~DerivationExpression_ReturnProgram_Assignment() override; + explicit constexpr DerivationExpression_ReturnProgram_Assignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DerivationExpression_ReturnProgram_Assignment(const DerivationExpression_ReturnProgram_Assignment& from); + DerivationExpression_ReturnProgram_Assignment(DerivationExpression_ReturnProgram_Assignment&& from) noexcept + : DerivationExpression_ReturnProgram_Assignment() { + *this = ::std::move(from); + } + + inline DerivationExpression_ReturnProgram_Assignment& operator=(const DerivationExpression_ReturnProgram_Assignment& from) { + CopyFrom(from); + return *this; + } + inline DerivationExpression_ReturnProgram_Assignment& operator=(DerivationExpression_ReturnProgram_Assignment&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DerivationExpression_ReturnProgram_Assignment& default_instance() { + return *internal_default_instance(); + } + static inline const DerivationExpression_ReturnProgram_Assignment* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ReturnProgram_Assignment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(DerivationExpression_ReturnProgram_Assignment& a, DerivationExpression_ReturnProgram_Assignment& b) { + a.Swap(&b); + } + inline void Swap(DerivationExpression_ReturnProgram_Assignment* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DerivationExpression_ReturnProgram_Assignment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DerivationExpression_ReturnProgram_Assignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DerivationExpression_ReturnProgram_Assignment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const DerivationExpression_ReturnProgram_Assignment& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DerivationExpression_ReturnProgram_Assignment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.DerivationExpression.ReturnProgram.Assignment"; + } + protected: + explicit DerivationExpression_ReturnProgram_Assignment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kNameFieldNumber = 1, + kExpressionFieldNumber = 2, + }; + // string name = 1; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // .substrait.DerivationExpression expression = 2; + bool has_expression() const; + private: + bool _internal_has_expression() const; + public: + void clear_expression(); + const ::substrait::DerivationExpression& expression() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_expression(); + ::substrait::DerivationExpression* mutable_expression(); + void set_allocated_expression(::substrait::DerivationExpression* expression); + private: + const ::substrait::DerivationExpression& _internal_expression() const; + ::substrait::DerivationExpression* _internal_mutable_expression(); + public: + void unsafe_arena_set_allocated_expression( + ::substrait::DerivationExpression* expression); + ::substrait::DerivationExpression* unsafe_arena_release_expression(); + + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ReturnProgram.Assignment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::substrait::DerivationExpression* expression_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; +}; +// ------------------------------------------------------------------- + +class DerivationExpression_ReturnProgram final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression.ReturnProgram) */ { + public: + inline DerivationExpression_ReturnProgram() : DerivationExpression_ReturnProgram(nullptr) {} + ~DerivationExpression_ReturnProgram() override; + explicit constexpr DerivationExpression_ReturnProgram(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DerivationExpression_ReturnProgram(const DerivationExpression_ReturnProgram& from); + DerivationExpression_ReturnProgram(DerivationExpression_ReturnProgram&& from) noexcept + : DerivationExpression_ReturnProgram() { + *this = ::std::move(from); + } + + inline DerivationExpression_ReturnProgram& operator=(const DerivationExpression_ReturnProgram& from) { + CopyFrom(from); + return *this; + } + inline DerivationExpression_ReturnProgram& operator=(DerivationExpression_ReturnProgram&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DerivationExpression_ReturnProgram& default_instance() { + return *internal_default_instance(); + } + static inline const DerivationExpression_ReturnProgram* internal_default_instance() { + return reinterpret_cast( + &_DerivationExpression_ReturnProgram_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(DerivationExpression_ReturnProgram& a, DerivationExpression_ReturnProgram& b) { + a.Swap(&b); + } + inline void Swap(DerivationExpression_ReturnProgram* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DerivationExpression_ReturnProgram* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DerivationExpression_ReturnProgram* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DerivationExpression_ReturnProgram& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const DerivationExpression_ReturnProgram& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DerivationExpression_ReturnProgram* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "substrait.DerivationExpression.ReturnProgram"; + } + protected: + explicit DerivationExpression_ReturnProgram(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + typedef DerivationExpression_ReturnProgram_Assignment Assignment; + + // accessors ------------------------------------------------------- + + enum : int { + kAssignmentsFieldNumber = 1, + kFinalExpressionFieldNumber = 2, + }; + // repeated .substrait.DerivationExpression.ReturnProgram.Assignment assignments = 1; + int assignments_size() const; + private: + int _internal_assignments_size() const; + public: + void clear_assignments(); + ::substrait::DerivationExpression_ReturnProgram_Assignment* mutable_assignments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment >* + mutable_assignments(); + private: + const ::substrait::DerivationExpression_ReturnProgram_Assignment& _internal_assignments(int index) const; + ::substrait::DerivationExpression_ReturnProgram_Assignment* _internal_add_assignments(); + public: + const ::substrait::DerivationExpression_ReturnProgram_Assignment& assignments(int index) const; + ::substrait::DerivationExpression_ReturnProgram_Assignment* add_assignments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment >& + assignments() const; + + // .substrait.DerivationExpression final_expression = 2; + bool has_final_expression() const; + private: + bool _internal_has_final_expression() const; + public: + void clear_final_expression(); + const ::substrait::DerivationExpression& final_expression() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression* release_final_expression(); + ::substrait::DerivationExpression* mutable_final_expression(); + void set_allocated_final_expression(::substrait::DerivationExpression* final_expression); + private: + const ::substrait::DerivationExpression& _internal_final_expression() const; + ::substrait::DerivationExpression* _internal_mutable_final_expression(); + public: + void unsafe_arena_set_allocated_final_expression( + ::substrait::DerivationExpression* final_expression); + ::substrait::DerivationExpression* unsafe_arena_release_final_expression(); + + // @@protoc_insertion_point(class_scope:substrait.DerivationExpression.ReturnProgram) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::substrait::DerivationExpression_ReturnProgram_Assignment > assignments_; + ::substrait::DerivationExpression* final_expression_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; +}; +// ------------------------------------------------------------------- + +class DerivationExpression final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:substrait.DerivationExpression) */ { + public: + inline DerivationExpression() : DerivationExpression(nullptr) {} + ~DerivationExpression() override; + explicit constexpr DerivationExpression(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DerivationExpression(const DerivationExpression& from); DerivationExpression(DerivationExpression&& from) noexcept @@ -3208,9 +3570,10 @@ class DerivationExpression final : kDate = 16, kTime = 17, kIntervalYear = 19, - kIntervalDay = 20, kTimestampTz = 29, kUuid = 32, + kIntervalDay = 20, + kIntervalCompound = 42, kFixedChar = 21, kVarchar = 22, kFixedBinary = 23, @@ -3237,7 +3600,7 @@ class DerivationExpression final : &_DerivationExpression_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 18; friend void swap(DerivationExpression& a, DerivationExpression& b) { a.Swap(&b); @@ -3313,6 +3676,8 @@ class DerivationExpression final : typedef DerivationExpression_ExpressionFixedBinary ExpressionFixedBinary; typedef DerivationExpression_ExpressionDecimal ExpressionDecimal; typedef DerivationExpression_ExpressionPrecisionTimestamp ExpressionPrecisionTimestamp; + typedef DerivationExpression_ExpressionIntervalDay ExpressionIntervalDay; + typedef DerivationExpression_ExpressionIntervalCompound ExpressionIntervalCompound; typedef DerivationExpression_ExpressionPrecisionTimestampTZ ExpressionPrecisionTimestampTZ; typedef DerivationExpression_ExpressionStruct ExpressionStruct; typedef DerivationExpression_ExpressionNamedStruct ExpressionNamedStruct; @@ -3340,9 +3705,10 @@ class DerivationExpression final : kDateFieldNumber = 16, kTimeFieldNumber = 17, kIntervalYearFieldNumber = 19, - kIntervalDayFieldNumber = 20, kTimestampTzFieldNumber = 29, kUuidFieldNumber = 32, + kIntervalDayFieldNumber = 20, + kIntervalCompoundFieldNumber = 42, kFixedCharFieldNumber = 21, kVarcharFieldNumber = 22, kFixedBinaryFieldNumber = 23, @@ -3596,24 +3962,6 @@ class DerivationExpression final : ::substrait::Type_IntervalYear* interval_year); ::substrait::Type_IntervalYear* unsafe_arena_release_interval_year(); - // .substrait.Type.IntervalDay interval_day = 20; - bool has_interval_day() const; - private: - bool _internal_has_interval_day() const; - public: - void clear_interval_day(); - const ::substrait::Type_IntervalDay& interval_day() const; - PROTOBUF_NODISCARD ::substrait::Type_IntervalDay* release_interval_day(); - ::substrait::Type_IntervalDay* mutable_interval_day(); - void set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day); - private: - const ::substrait::Type_IntervalDay& _internal_interval_day() const; - ::substrait::Type_IntervalDay* _internal_mutable_interval_day(); - public: - void unsafe_arena_set_allocated_interval_day( - ::substrait::Type_IntervalDay* interval_day); - ::substrait::Type_IntervalDay* unsafe_arena_release_interval_day(); - // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; PROTOBUF_DEPRECATED bool has_timestamp_tz() const; private: @@ -3650,6 +3998,42 @@ class DerivationExpression final : ::substrait::Type_UUID* uuid); ::substrait::Type_UUID* unsafe_arena_release_uuid(); + // .substrait.DerivationExpression.ExpressionIntervalDay interval_day = 20; + bool has_interval_day() const; + private: + bool _internal_has_interval_day() const; + public: + void clear_interval_day(); + const ::substrait::DerivationExpression_ExpressionIntervalDay& interval_day() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression_ExpressionIntervalDay* release_interval_day(); + ::substrait::DerivationExpression_ExpressionIntervalDay* mutable_interval_day(); + void set_allocated_interval_day(::substrait::DerivationExpression_ExpressionIntervalDay* interval_day); + private: + const ::substrait::DerivationExpression_ExpressionIntervalDay& _internal_interval_day() const; + ::substrait::DerivationExpression_ExpressionIntervalDay* _internal_mutable_interval_day(); + public: + void unsafe_arena_set_allocated_interval_day( + ::substrait::DerivationExpression_ExpressionIntervalDay* interval_day); + ::substrait::DerivationExpression_ExpressionIntervalDay* unsafe_arena_release_interval_day(); + + // .substrait.DerivationExpression.ExpressionIntervalCompound interval_compound = 42; + bool has_interval_compound() const; + private: + bool _internal_has_interval_compound() const; + public: + void clear_interval_compound(); + const ::substrait::DerivationExpression_ExpressionIntervalCompound& interval_compound() const; + PROTOBUF_NODISCARD ::substrait::DerivationExpression_ExpressionIntervalCompound* release_interval_compound(); + ::substrait::DerivationExpression_ExpressionIntervalCompound* mutable_interval_compound(); + void set_allocated_interval_compound(::substrait::DerivationExpression_ExpressionIntervalCompound* interval_compound); + private: + const ::substrait::DerivationExpression_ExpressionIntervalCompound& _internal_interval_compound() const; + ::substrait::DerivationExpression_ExpressionIntervalCompound* _internal_mutable_interval_compound(); + public: + void unsafe_arena_set_allocated_interval_compound( + ::substrait::DerivationExpression_ExpressionIntervalCompound* interval_compound); + ::substrait::DerivationExpression_ExpressionIntervalCompound* unsafe_arena_release_interval_compound(); + // .substrait.DerivationExpression.ExpressionFixedChar fixed_char = 21; bool has_fixed_char() const; private: @@ -3982,9 +4366,10 @@ class DerivationExpression final : void set_has_date(); void set_has_time(); void set_has_interval_year(); - void set_has_interval_day(); void set_has_timestamp_tz(); void set_has_uuid(); + void set_has_interval_day(); + void set_has_interval_compound(); void set_has_fixed_char(); void set_has_varchar(); void set_has_fixed_binary(); @@ -4026,9 +4411,10 @@ class DerivationExpression final : ::substrait::Type_Date* date_; ::substrait::Type_Time* time_; ::substrait::Type_IntervalYear* interval_year_; - ::substrait::Type_IntervalDay* interval_day_; ::substrait::Type_TimestampTZ* timestamp_tz_; ::substrait::Type_UUID* uuid_; + ::substrait::DerivationExpression_ExpressionIntervalDay* interval_day_; + ::substrait::DerivationExpression_ExpressionIntervalCompound* interval_compound_; ::substrait::DerivationExpression_ExpressionFixedChar* fixed_char_; ::substrait::DerivationExpression_ExpressionVarChar* varchar_; ::substrait::DerivationExpression_ExpressionFixedBinary* fixed_binary_; @@ -4051,42 +4437,310 @@ class DerivationExpression final : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; - friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; -}; -// =================================================================== + friend struct ::TableStruct_substrait_2ftype_5fexpressions_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// DerivationExpression_ExpressionFixedChar + +// .substrait.DerivationExpression length = 1; +inline bool DerivationExpression_ExpressionFixedChar::_internal_has_length() const { + return this != internal_default_instance() && length_ != nullptr; +} +inline bool DerivationExpression_ExpressionFixedChar::has_length() const { + return _internal_has_length(); +} +inline void DerivationExpression_ExpressionFixedChar::clear_length() { + if (GetArenaForAllocation() == nullptr && length_ != nullptr) { + delete length_; + } + length_ = nullptr; +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedChar::_internal_length() const { + const ::substrait::DerivationExpression* p = length_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_DerivationExpression_default_instance_); +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedChar::length() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.length) + return _internal_length(); +} +inline void DerivationExpression_ExpressionFixedChar::unsafe_arena_set_allocated_length( + ::substrait::DerivationExpression* length) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(length_); + } + length_ = length; + if (length) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionFixedChar.length) +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::release_length() { + + ::substrait::DerivationExpression* temp = length_; + length_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::unsafe_arena_release_length() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionFixedChar.length) + + ::substrait::DerivationExpression* temp = length_; + length_ = nullptr; + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::_internal_mutable_length() { + + if (length_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); + length_ = p; + } + return length_; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::mutable_length() { + ::substrait::DerivationExpression* _msg = _internal_mutable_length(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionFixedChar.length) + return _msg; +} +inline void DerivationExpression_ExpressionFixedChar::set_allocated_length(::substrait::DerivationExpression* length) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete length_; + } + if (length) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(length); + if (message_arena != submessage_arena) { + length = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, length, submessage_arena); + } + + } else { + + } + length_ = length; + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionFixedChar.length) +} + +// uint32 variation_pointer = 2; +inline void DerivationExpression_ExpressionFixedChar::clear_variation_pointer() { + variation_pointer_ = 0u; +} +inline uint32_t DerivationExpression_ExpressionFixedChar::_internal_variation_pointer() const { + return variation_pointer_; +} +inline uint32_t DerivationExpression_ExpressionFixedChar::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.variation_pointer) + return _internal_variation_pointer(); +} +inline void DerivationExpression_ExpressionFixedChar::_internal_set_variation_pointer(uint32_t value) { + + variation_pointer_ = value; +} +inline void DerivationExpression_ExpressionFixedChar::set_variation_pointer(uint32_t value) { + _internal_set_variation_pointer(value); + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedChar.variation_pointer) +} + +// .substrait.Type.Nullability nullability = 3; +inline void DerivationExpression_ExpressionFixedChar::clear_nullability() { + nullability_ = 0; +} +inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedChar::_internal_nullability() const { + return static_cast< ::substrait::Type_Nullability >(nullability_); +} +inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedChar::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.nullability) + return _internal_nullability(); +} +inline void DerivationExpression_ExpressionFixedChar::_internal_set_nullability(::substrait::Type_Nullability value) { + + nullability_ = value; +} +inline void DerivationExpression_ExpressionFixedChar::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedChar.nullability) +} + +// ------------------------------------------------------------------- + +// DerivationExpression_ExpressionVarChar + +// .substrait.DerivationExpression length = 1; +inline bool DerivationExpression_ExpressionVarChar::_internal_has_length() const { + return this != internal_default_instance() && length_ != nullptr; +} +inline bool DerivationExpression_ExpressionVarChar::has_length() const { + return _internal_has_length(); +} +inline void DerivationExpression_ExpressionVarChar::clear_length() { + if (GetArenaForAllocation() == nullptr && length_ != nullptr) { + delete length_; + } + length_ = nullptr; +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionVarChar::_internal_length() const { + const ::substrait::DerivationExpression* p = length_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_DerivationExpression_default_instance_); +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionVarChar::length() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.length) + return _internal_length(); +} +inline void DerivationExpression_ExpressionVarChar::unsafe_arena_set_allocated_length( + ::substrait::DerivationExpression* length) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(length_); + } + length_ = length; + if (length) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionVarChar.length) +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::release_length() { + + ::substrait::DerivationExpression* temp = length_; + length_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::unsafe_arena_release_length() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionVarChar.length) + + ::substrait::DerivationExpression* temp = length_; + length_ = nullptr; + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::_internal_mutable_length() { + + if (length_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); + length_ = p; + } + return length_; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::mutable_length() { + ::substrait::DerivationExpression* _msg = _internal_mutable_length(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionVarChar.length) + return _msg; +} +inline void DerivationExpression_ExpressionVarChar::set_allocated_length(::substrait::DerivationExpression* length) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete length_; + } + if (length) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(length); + if (message_arena != submessage_arena) { + length = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, length, submessage_arena); + } + + } else { + + } + length_ = length; + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionVarChar.length) +} + +// uint32 variation_pointer = 2; +inline void DerivationExpression_ExpressionVarChar::clear_variation_pointer() { + variation_pointer_ = 0u; +} +inline uint32_t DerivationExpression_ExpressionVarChar::_internal_variation_pointer() const { + return variation_pointer_; +} +inline uint32_t DerivationExpression_ExpressionVarChar::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.variation_pointer) + return _internal_variation_pointer(); +} +inline void DerivationExpression_ExpressionVarChar::_internal_set_variation_pointer(uint32_t value) { + + variation_pointer_ = value; +} +inline void DerivationExpression_ExpressionVarChar::set_variation_pointer(uint32_t value) { + _internal_set_variation_pointer(value); + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionVarChar.variation_pointer) +} +// .substrait.Type.Nullability nullability = 3; +inline void DerivationExpression_ExpressionVarChar::clear_nullability() { + nullability_ = 0; +} +inline ::substrait::Type_Nullability DerivationExpression_ExpressionVarChar::_internal_nullability() const { + return static_cast< ::substrait::Type_Nullability >(nullability_); +} +inline ::substrait::Type_Nullability DerivationExpression_ExpressionVarChar::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.nullability) + return _internal_nullability(); +} +inline void DerivationExpression_ExpressionVarChar::_internal_set_nullability(::substrait::Type_Nullability value) { + + nullability_ = value; +} +inline void DerivationExpression_ExpressionVarChar::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionVarChar.nullability) +} -// =================================================================== +// ------------------------------------------------------------------- -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DerivationExpression_ExpressionFixedChar +// DerivationExpression_ExpressionFixedBinary // .substrait.DerivationExpression length = 1; -inline bool DerivationExpression_ExpressionFixedChar::_internal_has_length() const { +inline bool DerivationExpression_ExpressionFixedBinary::_internal_has_length() const { return this != internal_default_instance() && length_ != nullptr; } -inline bool DerivationExpression_ExpressionFixedChar::has_length() const { +inline bool DerivationExpression_ExpressionFixedBinary::has_length() const { return _internal_has_length(); } -inline void DerivationExpression_ExpressionFixedChar::clear_length() { +inline void DerivationExpression_ExpressionFixedBinary::clear_length() { if (GetArenaForAllocation() == nullptr && length_ != nullptr) { delete length_; } length_ = nullptr; } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedChar::_internal_length() const { +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedBinary::_internal_length() const { const ::substrait::DerivationExpression* p = length_; return p != nullptr ? *p : reinterpret_cast( ::substrait::_DerivationExpression_default_instance_); } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedChar::length() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.length) +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedBinary::length() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.length) return _internal_length(); } -inline void DerivationExpression_ExpressionFixedChar::unsafe_arena_set_allocated_length( +inline void DerivationExpression_ExpressionFixedBinary::unsafe_arena_set_allocated_length( ::substrait::DerivationExpression* length) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(length_); @@ -4097,9 +4751,9 @@ inline void DerivationExpression_ExpressionFixedChar::unsafe_arena_set_allocated } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionFixedChar.length) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionFixedBinary.length) } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::release_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::release_length() { ::substrait::DerivationExpression* temp = length_; length_ = nullptr; @@ -4114,14 +4768,14 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedCh #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::unsafe_arena_release_length() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionFixedChar.length) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::unsafe_arena_release_length() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionFixedBinary.length) ::substrait::DerivationExpression* temp = length_; length_ = nullptr; return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::_internal_mutable_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::_internal_mutable_length() { if (length_ == nullptr) { auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); @@ -4129,12 +4783,12 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedCh } return length_; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedChar::mutable_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::mutable_length() { ::substrait::DerivationExpression* _msg = _internal_mutable_length(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionFixedChar.length) + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionFixedBinary.length) return _msg; } -inline void DerivationExpression_ExpressionFixedChar::set_allocated_length(::substrait::DerivationExpression* length) { +inline void DerivationExpression_ExpressionFixedBinary::set_allocated_length(::substrait::DerivationExpression* length) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete length_; @@ -4151,92 +4805,182 @@ inline void DerivationExpression_ExpressionFixedChar::set_allocated_length(::sub } length_ = length; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionFixedChar.length) + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionFixedBinary.length) } // uint32 variation_pointer = 2; -inline void DerivationExpression_ExpressionFixedChar::clear_variation_pointer() { +inline void DerivationExpression_ExpressionFixedBinary::clear_variation_pointer() { variation_pointer_ = 0u; } -inline uint32_t DerivationExpression_ExpressionFixedChar::_internal_variation_pointer() const { +inline uint32_t DerivationExpression_ExpressionFixedBinary::_internal_variation_pointer() const { return variation_pointer_; } -inline uint32_t DerivationExpression_ExpressionFixedChar::variation_pointer() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.variation_pointer) +inline uint32_t DerivationExpression_ExpressionFixedBinary::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.variation_pointer) return _internal_variation_pointer(); } -inline void DerivationExpression_ExpressionFixedChar::_internal_set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionFixedBinary::_internal_set_variation_pointer(uint32_t value) { variation_pointer_ = value; } -inline void DerivationExpression_ExpressionFixedChar::set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionFixedBinary::set_variation_pointer(uint32_t value) { _internal_set_variation_pointer(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedChar.variation_pointer) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedBinary.variation_pointer) } // .substrait.Type.Nullability nullability = 3; -inline void DerivationExpression_ExpressionFixedChar::clear_nullability() { +inline void DerivationExpression_ExpressionFixedBinary::clear_nullability() { nullability_ = 0; } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedChar::_internal_nullability() const { +inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedBinary::_internal_nullability() const { return static_cast< ::substrait::Type_Nullability >(nullability_); } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedChar::nullability() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedChar.nullability) +inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedBinary::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.nullability) return _internal_nullability(); } -inline void DerivationExpression_ExpressionFixedChar::_internal_set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionFixedBinary::_internal_set_nullability(::substrait::Type_Nullability value) { nullability_ = value; } -inline void DerivationExpression_ExpressionFixedChar::set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionFixedBinary::set_nullability(::substrait::Type_Nullability value) { _internal_set_nullability(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedChar.nullability) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedBinary.nullability) } // ------------------------------------------------------------------- -// DerivationExpression_ExpressionVarChar +// DerivationExpression_ExpressionDecimal -// .substrait.DerivationExpression length = 1; -inline bool DerivationExpression_ExpressionVarChar::_internal_has_length() const { - return this != internal_default_instance() && length_ != nullptr; +// .substrait.DerivationExpression scale = 1; +inline bool DerivationExpression_ExpressionDecimal::_internal_has_scale() const { + return this != internal_default_instance() && scale_ != nullptr; } -inline bool DerivationExpression_ExpressionVarChar::has_length() const { - return _internal_has_length(); +inline bool DerivationExpression_ExpressionDecimal::has_scale() const { + return _internal_has_scale(); } -inline void DerivationExpression_ExpressionVarChar::clear_length() { - if (GetArenaForAllocation() == nullptr && length_ != nullptr) { - delete length_; +inline void DerivationExpression_ExpressionDecimal::clear_scale() { + if (GetArenaForAllocation() == nullptr && scale_ != nullptr) { + delete scale_; } - length_ = nullptr; + scale_ = nullptr; } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionVarChar::_internal_length() const { - const ::substrait::DerivationExpression* p = length_; +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::_internal_scale() const { + const ::substrait::DerivationExpression* p = scale_; return p != nullptr ? *p : reinterpret_cast( ::substrait::_DerivationExpression_default_instance_); } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionVarChar::length() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.length) - return _internal_length(); +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::scale() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.scale) + return _internal_scale(); } -inline void DerivationExpression_ExpressionVarChar::unsafe_arena_set_allocated_length( - ::substrait::DerivationExpression* length) { +inline void DerivationExpression_ExpressionDecimal::unsafe_arena_set_allocated_scale( + ::substrait::DerivationExpression* scale) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(length_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_); } - length_ = length; - if (length) { + scale_ = scale; + if (scale) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionDecimal.scale) +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::release_scale() { + + ::substrait::DerivationExpression* temp = scale_; + scale_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::unsafe_arena_release_scale() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionDecimal.scale) + + ::substrait::DerivationExpression* temp = scale_; + scale_ = nullptr; + return temp; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::_internal_mutable_scale() { + + if (scale_ == nullptr) { + auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); + scale_ = p; + } + return scale_; +} +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::mutable_scale() { + ::substrait::DerivationExpression* _msg = _internal_mutable_scale(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionDecimal.scale) + return _msg; +} +inline void DerivationExpression_ExpressionDecimal::set_allocated_scale(::substrait::DerivationExpression* scale) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete scale_; + } + if (scale) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(scale); + if (message_arena != submessage_arena) { + scale = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, scale, submessage_arena); + } + + } else { + + } + scale_ = scale; + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionDecimal.scale) +} + +// .substrait.DerivationExpression precision = 2; +inline bool DerivationExpression_ExpressionDecimal::_internal_has_precision() const { + return this != internal_default_instance() && precision_ != nullptr; +} +inline bool DerivationExpression_ExpressionDecimal::has_precision() const { + return _internal_has_precision(); +} +inline void DerivationExpression_ExpressionDecimal::clear_precision() { + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; + } + precision_ = nullptr; +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::_internal_precision() const { + const ::substrait::DerivationExpression* p = precision_; + return p != nullptr ? *p : reinterpret_cast( + ::substrait::_DerivationExpression_default_instance_); +} +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::precision() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.precision) + return _internal_precision(); +} +inline void DerivationExpression_ExpressionDecimal::unsafe_arena_set_allocated_precision( + ::substrait::DerivationExpression* precision) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); + } + precision_ = precision; + if (precision) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionVarChar.length) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionDecimal.precision) } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::release_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::release_precision() { - ::substrait::DerivationExpression* temp = length_; - length_ = nullptr; + ::substrait::DerivationExpression* temp = precision_; + precision_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -4248,129 +4992,129 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::unsafe_arena_release_length() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionVarChar.length) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionDecimal.precision) - ::substrait::DerivationExpression* temp = length_; - length_ = nullptr; + ::substrait::DerivationExpression* temp = precision_; + precision_ = nullptr; return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::_internal_mutable_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::_internal_mutable_precision() { - if (length_ == nullptr) { + if (precision_ == nullptr) { auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); - length_ = p; + precision_ = p; } - return length_; + return precision_; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionVarChar::mutable_length() { - ::substrait::DerivationExpression* _msg = _internal_mutable_length(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionVarChar.length) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::mutable_precision() { + ::substrait::DerivationExpression* _msg = _internal_mutable_precision(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionDecimal.precision) return _msg; } -inline void DerivationExpression_ExpressionVarChar::set_allocated_length(::substrait::DerivationExpression* length) { +inline void DerivationExpression_ExpressionDecimal::set_allocated_precision(::substrait::DerivationExpression* precision) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete length_; + delete precision_; } - if (length) { + if (precision) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(length); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(precision); if (message_arena != submessage_arena) { - length = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, length, submessage_arena); + precision = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, precision, submessage_arena); } } else { } - length_ = length; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionVarChar.length) + precision_ = precision; + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionDecimal.precision) } -// uint32 variation_pointer = 2; -inline void DerivationExpression_ExpressionVarChar::clear_variation_pointer() { +// uint32 variation_pointer = 3; +inline void DerivationExpression_ExpressionDecimal::clear_variation_pointer() { variation_pointer_ = 0u; } -inline uint32_t DerivationExpression_ExpressionVarChar::_internal_variation_pointer() const { +inline uint32_t DerivationExpression_ExpressionDecimal::_internal_variation_pointer() const { return variation_pointer_; } -inline uint32_t DerivationExpression_ExpressionVarChar::variation_pointer() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.variation_pointer) +inline uint32_t DerivationExpression_ExpressionDecimal::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.variation_pointer) return _internal_variation_pointer(); } -inline void DerivationExpression_ExpressionVarChar::_internal_set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionDecimal::_internal_set_variation_pointer(uint32_t value) { variation_pointer_ = value; } -inline void DerivationExpression_ExpressionVarChar::set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionDecimal::set_variation_pointer(uint32_t value) { _internal_set_variation_pointer(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionVarChar.variation_pointer) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionDecimal.variation_pointer) } -// .substrait.Type.Nullability nullability = 3; -inline void DerivationExpression_ExpressionVarChar::clear_nullability() { +// .substrait.Type.Nullability nullability = 4; +inline void DerivationExpression_ExpressionDecimal::clear_nullability() { nullability_ = 0; } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionVarChar::_internal_nullability() const { +inline ::substrait::Type_Nullability DerivationExpression_ExpressionDecimal::_internal_nullability() const { return static_cast< ::substrait::Type_Nullability >(nullability_); } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionVarChar::nullability() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionVarChar.nullability) +inline ::substrait::Type_Nullability DerivationExpression_ExpressionDecimal::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.nullability) return _internal_nullability(); } -inline void DerivationExpression_ExpressionVarChar::_internal_set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionDecimal::_internal_set_nullability(::substrait::Type_Nullability value) { nullability_ = value; } -inline void DerivationExpression_ExpressionVarChar::set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionDecimal::set_nullability(::substrait::Type_Nullability value) { _internal_set_nullability(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionVarChar.nullability) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionDecimal.nullability) } // ------------------------------------------------------------------- -// DerivationExpression_ExpressionFixedBinary +// DerivationExpression_ExpressionPrecisionTimestamp -// .substrait.DerivationExpression length = 1; -inline bool DerivationExpression_ExpressionFixedBinary::_internal_has_length() const { - return this != internal_default_instance() && length_ != nullptr; +// .substrait.DerivationExpression precision = 1; +inline bool DerivationExpression_ExpressionPrecisionTimestamp::_internal_has_precision() const { + return this != internal_default_instance() && precision_ != nullptr; } -inline bool DerivationExpression_ExpressionFixedBinary::has_length() const { - return _internal_has_length(); +inline bool DerivationExpression_ExpressionPrecisionTimestamp::has_precision() const { + return _internal_has_precision(); } -inline void DerivationExpression_ExpressionFixedBinary::clear_length() { - if (GetArenaForAllocation() == nullptr && length_ != nullptr) { - delete length_; +inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_precision() { + if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { + delete precision_; } - length_ = nullptr; + precision_ = nullptr; } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedBinary::_internal_length() const { - const ::substrait::DerivationExpression* p = length_; +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionPrecisionTimestamp::_internal_precision() const { + const ::substrait::DerivationExpression* p = precision_; return p != nullptr ? *p : reinterpret_cast( ::substrait::_DerivationExpression_default_instance_); } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionFixedBinary::length() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.length) - return _internal_length(); +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionPrecisionTimestamp::precision() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) + return _internal_precision(); } -inline void DerivationExpression_ExpressionFixedBinary::unsafe_arena_set_allocated_length( - ::substrait::DerivationExpression* length) { +inline void DerivationExpression_ExpressionPrecisionTimestamp::unsafe_arena_set_allocated_precision( + ::substrait::DerivationExpression* precision) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(length_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); } - length_ = length; - if (length) { + precision_ = precision; + if (precision) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionFixedBinary.length) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::release_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::release_precision() { - ::substrait::DerivationExpression* temp = length_; - length_ = nullptr; + ::substrait::DerivationExpression* temp = precision_; + precision_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -4382,203 +5126,113 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBi #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::unsafe_arena_release_length() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionFixedBinary.length) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) - ::substrait::DerivationExpression* temp = length_; - length_ = nullptr; + ::substrait::DerivationExpression* temp = precision_; + precision_ = nullptr; return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::_internal_mutable_length() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::_internal_mutable_precision() { - if (length_ == nullptr) { + if (precision_ == nullptr) { auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); - length_ = p; + precision_ = p; } - return length_; + return precision_; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionFixedBinary::mutable_length() { - ::substrait::DerivationExpression* _msg = _internal_mutable_length(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionFixedBinary.length) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::mutable_precision() { + ::substrait::DerivationExpression* _msg = _internal_mutable_precision(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) return _msg; } -inline void DerivationExpression_ExpressionFixedBinary::set_allocated_length(::substrait::DerivationExpression* length) { +inline void DerivationExpression_ExpressionPrecisionTimestamp::set_allocated_precision(::substrait::DerivationExpression* precision) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete length_; + delete precision_; } - if (length) { + if (precision) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(length); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(precision); if (message_arena != submessage_arena) { - length = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, length, submessage_arena); + precision = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, precision, submessage_arena); } } else { } - length_ = length; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionFixedBinary.length) + precision_ = precision; + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) } // uint32 variation_pointer = 2; -inline void DerivationExpression_ExpressionFixedBinary::clear_variation_pointer() { +inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_variation_pointer() { variation_pointer_ = 0u; } -inline uint32_t DerivationExpression_ExpressionFixedBinary::_internal_variation_pointer() const { +inline uint32_t DerivationExpression_ExpressionPrecisionTimestamp::_internal_variation_pointer() const { return variation_pointer_; } -inline uint32_t DerivationExpression_ExpressionFixedBinary::variation_pointer() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.variation_pointer) +inline uint32_t DerivationExpression_ExpressionPrecisionTimestamp::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.variation_pointer) return _internal_variation_pointer(); } -inline void DerivationExpression_ExpressionFixedBinary::_internal_set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionPrecisionTimestamp::_internal_set_variation_pointer(uint32_t value) { variation_pointer_ = value; } -inline void DerivationExpression_ExpressionFixedBinary::set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionPrecisionTimestamp::set_variation_pointer(uint32_t value) { _internal_set_variation_pointer(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedBinary.variation_pointer) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionPrecisionTimestamp.variation_pointer) } // .substrait.Type.Nullability nullability = 3; -inline void DerivationExpression_ExpressionFixedBinary::clear_nullability() { +inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_nullability() { nullability_ = 0; } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedBinary::_internal_nullability() const { +inline ::substrait::Type_Nullability DerivationExpression_ExpressionPrecisionTimestamp::_internal_nullability() const { return static_cast< ::substrait::Type_Nullability >(nullability_); } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionFixedBinary::nullability() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionFixedBinary.nullability) - return _internal_nullability(); -} -inline void DerivationExpression_ExpressionFixedBinary::_internal_set_nullability(::substrait::Type_Nullability value) { - - nullability_ = value; -} -inline void DerivationExpression_ExpressionFixedBinary::set_nullability(::substrait::Type_Nullability value) { - _internal_set_nullability(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionFixedBinary.nullability) -} - -// ------------------------------------------------------------------- - -// DerivationExpression_ExpressionDecimal - -// .substrait.DerivationExpression scale = 1; -inline bool DerivationExpression_ExpressionDecimal::_internal_has_scale() const { - return this != internal_default_instance() && scale_ != nullptr; -} -inline bool DerivationExpression_ExpressionDecimal::has_scale() const { - return _internal_has_scale(); -} -inline void DerivationExpression_ExpressionDecimal::clear_scale() { - if (GetArenaForAllocation() == nullptr && scale_ != nullptr) { - delete scale_; - } - scale_ = nullptr; -} -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::_internal_scale() const { - const ::substrait::DerivationExpression* p = scale_; - return p != nullptr ? *p : reinterpret_cast( - ::substrait::_DerivationExpression_default_instance_); -} -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::scale() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.scale) - return _internal_scale(); -} -inline void DerivationExpression_ExpressionDecimal::unsafe_arena_set_allocated_scale( - ::substrait::DerivationExpression* scale) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_); - } - scale_ = scale; - if (scale) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionDecimal.scale) -} -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::release_scale() { - - ::substrait::DerivationExpression* temp = scale_; - scale_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::unsafe_arena_release_scale() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionDecimal.scale) - - ::substrait::DerivationExpression* temp = scale_; - scale_ = nullptr; - return temp; +inline ::substrait::Type_Nullability DerivationExpression_ExpressionPrecisionTimestamp::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.nullability) + return _internal_nullability(); } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::_internal_mutable_scale() { +inline void DerivationExpression_ExpressionPrecisionTimestamp::_internal_set_nullability(::substrait::Type_Nullability value) { - if (scale_ == nullptr) { - auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); - scale_ = p; - } - return scale_; -} -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::mutable_scale() { - ::substrait::DerivationExpression* _msg = _internal_mutable_scale(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionDecimal.scale) - return _msg; + nullability_ = value; } -inline void DerivationExpression_ExpressionDecimal::set_allocated_scale(::substrait::DerivationExpression* scale) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete scale_; - } - if (scale) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::substrait::DerivationExpression>::GetOwningArena(scale); - if (message_arena != submessage_arena) { - scale = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, scale, submessage_arena); - } - - } else { - - } - scale_ = scale; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionDecimal.scale) +inline void DerivationExpression_ExpressionPrecisionTimestamp::set_nullability(::substrait::Type_Nullability value) { + _internal_set_nullability(value); + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionPrecisionTimestamp.nullability) } -// .substrait.DerivationExpression precision = 2; -inline bool DerivationExpression_ExpressionDecimal::_internal_has_precision() const { +// ------------------------------------------------------------------- + +// DerivationExpression_ExpressionIntervalDay + +// .substrait.DerivationExpression precision = 1; +inline bool DerivationExpression_ExpressionIntervalDay::_internal_has_precision() const { return this != internal_default_instance() && precision_ != nullptr; } -inline bool DerivationExpression_ExpressionDecimal::has_precision() const { +inline bool DerivationExpression_ExpressionIntervalDay::has_precision() const { return _internal_has_precision(); } -inline void DerivationExpression_ExpressionDecimal::clear_precision() { +inline void DerivationExpression_ExpressionIntervalDay::clear_precision() { if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { delete precision_; } precision_ = nullptr; } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::_internal_precision() const { +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionIntervalDay::_internal_precision() const { const ::substrait::DerivationExpression* p = precision_; return p != nullptr ? *p : reinterpret_cast( ::substrait::_DerivationExpression_default_instance_); } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionDecimal::precision() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.precision) +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionIntervalDay::precision() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalDay.precision) return _internal_precision(); } -inline void DerivationExpression_ExpressionDecimal::unsafe_arena_set_allocated_precision( +inline void DerivationExpression_ExpressionIntervalDay::unsafe_arena_set_allocated_precision( ::substrait::DerivationExpression* precision) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); @@ -4589,9 +5243,9 @@ inline void DerivationExpression_ExpressionDecimal::unsafe_arena_set_allocated_p } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionDecimal.precision) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionIntervalDay.precision) } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::release_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalDay::release_precision() { ::substrait::DerivationExpression* temp = precision_; precision_ = nullptr; @@ -4606,14 +5260,14 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::unsafe_arena_release_precision() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionDecimal.precision) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalDay::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionIntervalDay.precision) ::substrait::DerivationExpression* temp = precision_; precision_ = nullptr; return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::_internal_mutable_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalDay::_internal_mutable_precision() { if (precision_ == nullptr) { auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); @@ -4621,12 +5275,12 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal } return precision_; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionDecimal::mutable_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalDay::mutable_precision() { ::substrait::DerivationExpression* _msg = _internal_mutable_precision(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionDecimal.precision) + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionIntervalDay.precision) return _msg; } -inline void DerivationExpression_ExpressionDecimal::set_allocated_precision(::substrait::DerivationExpression* precision) { +inline void DerivationExpression_ExpressionIntervalDay::set_allocated_precision(::substrait::DerivationExpression* precision) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete precision_; @@ -4643,76 +5297,76 @@ inline void DerivationExpression_ExpressionDecimal::set_allocated_precision(::su } precision_ = precision; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionDecimal.precision) + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionIntervalDay.precision) } -// uint32 variation_pointer = 3; -inline void DerivationExpression_ExpressionDecimal::clear_variation_pointer() { +// uint32 variation_pointer = 2; +inline void DerivationExpression_ExpressionIntervalDay::clear_variation_pointer() { variation_pointer_ = 0u; } -inline uint32_t DerivationExpression_ExpressionDecimal::_internal_variation_pointer() const { +inline uint32_t DerivationExpression_ExpressionIntervalDay::_internal_variation_pointer() const { return variation_pointer_; } -inline uint32_t DerivationExpression_ExpressionDecimal::variation_pointer() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.variation_pointer) +inline uint32_t DerivationExpression_ExpressionIntervalDay::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalDay.variation_pointer) return _internal_variation_pointer(); } -inline void DerivationExpression_ExpressionDecimal::_internal_set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionIntervalDay::_internal_set_variation_pointer(uint32_t value) { variation_pointer_ = value; } -inline void DerivationExpression_ExpressionDecimal::set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionIntervalDay::set_variation_pointer(uint32_t value) { _internal_set_variation_pointer(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionDecimal.variation_pointer) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionIntervalDay.variation_pointer) } -// .substrait.Type.Nullability nullability = 4; -inline void DerivationExpression_ExpressionDecimal::clear_nullability() { +// .substrait.Type.Nullability nullability = 3; +inline void DerivationExpression_ExpressionIntervalDay::clear_nullability() { nullability_ = 0; } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionDecimal::_internal_nullability() const { +inline ::substrait::Type_Nullability DerivationExpression_ExpressionIntervalDay::_internal_nullability() const { return static_cast< ::substrait::Type_Nullability >(nullability_); } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionDecimal::nullability() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionDecimal.nullability) +inline ::substrait::Type_Nullability DerivationExpression_ExpressionIntervalDay::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalDay.nullability) return _internal_nullability(); } -inline void DerivationExpression_ExpressionDecimal::_internal_set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionIntervalDay::_internal_set_nullability(::substrait::Type_Nullability value) { nullability_ = value; } -inline void DerivationExpression_ExpressionDecimal::set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionIntervalDay::set_nullability(::substrait::Type_Nullability value) { _internal_set_nullability(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionDecimal.nullability) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionIntervalDay.nullability) } // ------------------------------------------------------------------- -// DerivationExpression_ExpressionPrecisionTimestamp +// DerivationExpression_ExpressionIntervalCompound // .substrait.DerivationExpression precision = 1; -inline bool DerivationExpression_ExpressionPrecisionTimestamp::_internal_has_precision() const { +inline bool DerivationExpression_ExpressionIntervalCompound::_internal_has_precision() const { return this != internal_default_instance() && precision_ != nullptr; } -inline bool DerivationExpression_ExpressionPrecisionTimestamp::has_precision() const { +inline bool DerivationExpression_ExpressionIntervalCompound::has_precision() const { return _internal_has_precision(); } -inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_precision() { +inline void DerivationExpression_ExpressionIntervalCompound::clear_precision() { if (GetArenaForAllocation() == nullptr && precision_ != nullptr) { delete precision_; } precision_ = nullptr; } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionPrecisionTimestamp::_internal_precision() const { +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionIntervalCompound::_internal_precision() const { const ::substrait::DerivationExpression* p = precision_; return p != nullptr ? *p : reinterpret_cast( ::substrait::_DerivationExpression_default_instance_); } -inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionPrecisionTimestamp::precision() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) +inline const ::substrait::DerivationExpression& DerivationExpression_ExpressionIntervalCompound::precision() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalCompound.precision) return _internal_precision(); } -inline void DerivationExpression_ExpressionPrecisionTimestamp::unsafe_arena_set_allocated_precision( +inline void DerivationExpression_ExpressionIntervalCompound::unsafe_arena_set_allocated_precision( ::substrait::DerivationExpression* precision) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(precision_); @@ -4723,9 +5377,9 @@ inline void DerivationExpression_ExpressionPrecisionTimestamp::unsafe_arena_set_ } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.ExpressionIntervalCompound.precision) } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::release_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalCompound::release_precision() { ::substrait::DerivationExpression* temp = precision_; precision_ = nullptr; @@ -4740,14 +5394,14 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisi #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::unsafe_arena_release_precision() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalCompound::unsafe_arena_release_precision() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.ExpressionIntervalCompound.precision) ::substrait::DerivationExpression* temp = precision_; precision_ = nullptr; return temp; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::_internal_mutable_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalCompound::_internal_mutable_precision() { if (precision_ == nullptr) { auto* p = CreateMaybeMessage<::substrait::DerivationExpression>(GetArenaForAllocation()); @@ -4755,12 +5409,12 @@ inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisi } return precision_; } -inline ::substrait::DerivationExpression* DerivationExpression_ExpressionPrecisionTimestamp::mutable_precision() { +inline ::substrait::DerivationExpression* DerivationExpression_ExpressionIntervalCompound::mutable_precision() { ::substrait::DerivationExpression* _msg = _internal_mutable_precision(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.ExpressionIntervalCompound.precision) return _msg; } -inline void DerivationExpression_ExpressionPrecisionTimestamp::set_allocated_precision(::substrait::DerivationExpression* precision) { +inline void DerivationExpression_ExpressionIntervalCompound::set_allocated_precision(::substrait::DerivationExpression* precision) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete precision_; @@ -4777,47 +5431,47 @@ inline void DerivationExpression_ExpressionPrecisionTimestamp::set_allocated_pre } precision_ = precision; - // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionPrecisionTimestamp.precision) + // @@protoc_insertion_point(field_set_allocated:substrait.DerivationExpression.ExpressionIntervalCompound.precision) } // uint32 variation_pointer = 2; -inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_variation_pointer() { +inline void DerivationExpression_ExpressionIntervalCompound::clear_variation_pointer() { variation_pointer_ = 0u; } -inline uint32_t DerivationExpression_ExpressionPrecisionTimestamp::_internal_variation_pointer() const { +inline uint32_t DerivationExpression_ExpressionIntervalCompound::_internal_variation_pointer() const { return variation_pointer_; } -inline uint32_t DerivationExpression_ExpressionPrecisionTimestamp::variation_pointer() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.variation_pointer) +inline uint32_t DerivationExpression_ExpressionIntervalCompound::variation_pointer() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalCompound.variation_pointer) return _internal_variation_pointer(); } -inline void DerivationExpression_ExpressionPrecisionTimestamp::_internal_set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionIntervalCompound::_internal_set_variation_pointer(uint32_t value) { variation_pointer_ = value; } -inline void DerivationExpression_ExpressionPrecisionTimestamp::set_variation_pointer(uint32_t value) { +inline void DerivationExpression_ExpressionIntervalCompound::set_variation_pointer(uint32_t value) { _internal_set_variation_pointer(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionPrecisionTimestamp.variation_pointer) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionIntervalCompound.variation_pointer) } // .substrait.Type.Nullability nullability = 3; -inline void DerivationExpression_ExpressionPrecisionTimestamp::clear_nullability() { +inline void DerivationExpression_ExpressionIntervalCompound::clear_nullability() { nullability_ = 0; } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionPrecisionTimestamp::_internal_nullability() const { +inline ::substrait::Type_Nullability DerivationExpression_ExpressionIntervalCompound::_internal_nullability() const { return static_cast< ::substrait::Type_Nullability >(nullability_); } -inline ::substrait::Type_Nullability DerivationExpression_ExpressionPrecisionTimestamp::nullability() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionPrecisionTimestamp.nullability) +inline ::substrait::Type_Nullability DerivationExpression_ExpressionIntervalCompound::nullability() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.ExpressionIntervalCompound.nullability) return _internal_nullability(); } -inline void DerivationExpression_ExpressionPrecisionTimestamp::_internal_set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionIntervalCompound::_internal_set_nullability(::substrait::Type_Nullability value) { nullability_ = value; } -inline void DerivationExpression_ExpressionPrecisionTimestamp::set_nullability(::substrait::Type_Nullability value) { +inline void DerivationExpression_ExpressionIntervalCompound::set_nullability(::substrait::Type_Nullability value) { _internal_set_nullability(value); - // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionPrecisionTimestamp.nullability) + // @@protoc_insertion_point(field_set:substrait.DerivationExpression.ExpressionIntervalCompound.nullability) } // ------------------------------------------------------------------- @@ -7362,72 +8016,6 @@ inline ::substrait::Type_IntervalYear* DerivationExpression::mutable_interval_ye return _msg; } -// .substrait.Type.IntervalDay interval_day = 20; -inline bool DerivationExpression::_internal_has_interval_day() const { - return kind_case() == kIntervalDay; -} -inline bool DerivationExpression::has_interval_day() const { - return _internal_has_interval_day(); -} -inline void DerivationExpression::set_has_interval_day() { - _oneof_case_[0] = kIntervalDay; -} -inline ::substrait::Type_IntervalDay* DerivationExpression::release_interval_day() { - // @@protoc_insertion_point(field_release:substrait.DerivationExpression.interval_day) - if (_internal_has_interval_day()) { - clear_has_kind(); - ::substrait::Type_IntervalDay* temp = kind_.interval_day_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - kind_.interval_day_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::substrait::Type_IntervalDay& DerivationExpression::_internal_interval_day() const { - return _internal_has_interval_day() - ? *kind_.interval_day_ - : reinterpret_cast< ::substrait::Type_IntervalDay&>(::substrait::_Type_IntervalDay_default_instance_); -} -inline const ::substrait::Type_IntervalDay& DerivationExpression::interval_day() const { - // @@protoc_insertion_point(field_get:substrait.DerivationExpression.interval_day) - return _internal_interval_day(); -} -inline ::substrait::Type_IntervalDay* DerivationExpression::unsafe_arena_release_interval_day() { - // @@protoc_insertion_point(field_unsafe_arena_release:substrait.DerivationExpression.interval_day) - if (_internal_has_interval_day()) { - clear_has_kind(); - ::substrait::Type_IntervalDay* temp = kind_.interval_day_; - kind_.interval_day_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void DerivationExpression::unsafe_arena_set_allocated_interval_day(::substrait::Type_IntervalDay* interval_day) { - clear_kind(); - if (interval_day) { - set_has_interval_day(); - kind_.interval_day_ = interval_day; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.interval_day) -} -inline ::substrait::Type_IntervalDay* DerivationExpression::_internal_mutable_interval_day() { - if (!_internal_has_interval_day()) { - clear_kind(); - set_has_interval_day(); - kind_.interval_day_ = CreateMaybeMessage< ::substrait::Type_IntervalDay >(GetArenaForAllocation()); - } - return kind_.interval_day_; -} -inline ::substrait::Type_IntervalDay* DerivationExpression::mutable_interval_day() { - ::substrait::Type_IntervalDay* _msg = _internal_mutable_interval_day(); - // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.interval_day) - return _msg; -} - // .substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; inline bool DerivationExpression::_internal_has_timestamp_tz() const { return kind_case() == kTimestampTz; @@ -7560,6 +8148,154 @@ inline ::substrait::Type_UUID* DerivationExpression::mutable_uuid() { return _msg; } +// .substrait.DerivationExpression.ExpressionIntervalDay interval_day = 20; +inline bool DerivationExpression::_internal_has_interval_day() const { + return kind_case() == kIntervalDay; +} +inline bool DerivationExpression::has_interval_day() const { + return _internal_has_interval_day(); +} +inline void DerivationExpression::set_has_interval_day() { + _oneof_case_[0] = kIntervalDay; +} +inline void DerivationExpression::clear_interval_day() { + if (_internal_has_interval_day()) { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_day_; + } + clear_has_kind(); + } +} +inline ::substrait::DerivationExpression_ExpressionIntervalDay* DerivationExpression::release_interval_day() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.interval_day) + if (_internal_has_interval_day()) { + clear_has_kind(); + ::substrait::DerivationExpression_ExpressionIntervalDay* temp = kind_.interval_day_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + kind_.interval_day_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::DerivationExpression_ExpressionIntervalDay& DerivationExpression::_internal_interval_day() const { + return _internal_has_interval_day() + ? *kind_.interval_day_ + : reinterpret_cast< ::substrait::DerivationExpression_ExpressionIntervalDay&>(::substrait::_DerivationExpression_ExpressionIntervalDay_default_instance_); +} +inline const ::substrait::DerivationExpression_ExpressionIntervalDay& DerivationExpression::interval_day() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.interval_day) + return _internal_interval_day(); +} +inline ::substrait::DerivationExpression_ExpressionIntervalDay* DerivationExpression::unsafe_arena_release_interval_day() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.DerivationExpression.interval_day) + if (_internal_has_interval_day()) { + clear_has_kind(); + ::substrait::DerivationExpression_ExpressionIntervalDay* temp = kind_.interval_day_; + kind_.interval_day_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void DerivationExpression::unsafe_arena_set_allocated_interval_day(::substrait::DerivationExpression_ExpressionIntervalDay* interval_day) { + clear_kind(); + if (interval_day) { + set_has_interval_day(); + kind_.interval_day_ = interval_day; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.interval_day) +} +inline ::substrait::DerivationExpression_ExpressionIntervalDay* DerivationExpression::_internal_mutable_interval_day() { + if (!_internal_has_interval_day()) { + clear_kind(); + set_has_interval_day(); + kind_.interval_day_ = CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionIntervalDay >(GetArenaForAllocation()); + } + return kind_.interval_day_; +} +inline ::substrait::DerivationExpression_ExpressionIntervalDay* DerivationExpression::mutable_interval_day() { + ::substrait::DerivationExpression_ExpressionIntervalDay* _msg = _internal_mutable_interval_day(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.interval_day) + return _msg; +} + +// .substrait.DerivationExpression.ExpressionIntervalCompound interval_compound = 42; +inline bool DerivationExpression::_internal_has_interval_compound() const { + return kind_case() == kIntervalCompound; +} +inline bool DerivationExpression::has_interval_compound() const { + return _internal_has_interval_compound(); +} +inline void DerivationExpression::set_has_interval_compound() { + _oneof_case_[0] = kIntervalCompound; +} +inline void DerivationExpression::clear_interval_compound() { + if (_internal_has_interval_compound()) { + if (GetArenaForAllocation() == nullptr) { + delete kind_.interval_compound_; + } + clear_has_kind(); + } +} +inline ::substrait::DerivationExpression_ExpressionIntervalCompound* DerivationExpression::release_interval_compound() { + // @@protoc_insertion_point(field_release:substrait.DerivationExpression.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::DerivationExpression_ExpressionIntervalCompound* temp = kind_.interval_compound_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::substrait::DerivationExpression_ExpressionIntervalCompound& DerivationExpression::_internal_interval_compound() const { + return _internal_has_interval_compound() + ? *kind_.interval_compound_ + : reinterpret_cast< ::substrait::DerivationExpression_ExpressionIntervalCompound&>(::substrait::_DerivationExpression_ExpressionIntervalCompound_default_instance_); +} +inline const ::substrait::DerivationExpression_ExpressionIntervalCompound& DerivationExpression::interval_compound() const { + // @@protoc_insertion_point(field_get:substrait.DerivationExpression.interval_compound) + return _internal_interval_compound(); +} +inline ::substrait::DerivationExpression_ExpressionIntervalCompound* DerivationExpression::unsafe_arena_release_interval_compound() { + // @@protoc_insertion_point(field_unsafe_arena_release:substrait.DerivationExpression.interval_compound) + if (_internal_has_interval_compound()) { + clear_has_kind(); + ::substrait::DerivationExpression_ExpressionIntervalCompound* temp = kind_.interval_compound_; + kind_.interval_compound_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void DerivationExpression::unsafe_arena_set_allocated_interval_compound(::substrait::DerivationExpression_ExpressionIntervalCompound* interval_compound) { + clear_kind(); + if (interval_compound) { + set_has_interval_compound(); + kind_.interval_compound_ = interval_compound; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:substrait.DerivationExpression.interval_compound) +} +inline ::substrait::DerivationExpression_ExpressionIntervalCompound* DerivationExpression::_internal_mutable_interval_compound() { + if (!_internal_has_interval_compound()) { + clear_kind(); + set_has_interval_compound(); + kind_.interval_compound_ = CreateMaybeMessage< ::substrait::DerivationExpression_ExpressionIntervalCompound >(GetArenaForAllocation()); + } + return kind_.interval_compound_; +} +inline ::substrait::DerivationExpression_ExpressionIntervalCompound* DerivationExpression::mutable_interval_compound() { + ::substrait::DerivationExpression_ExpressionIntervalCompound* _msg = _internal_mutable_interval_compound(); + // @@protoc_insertion_point(field_mutable:substrait.DerivationExpression.interval_compound) + return _msg; +} + // .substrait.DerivationExpression.ExpressionFixedChar fixed_char = 21; inline bool DerivationExpression::_internal_has_fixed_char() const { return kind_case() == kFixedChar; @@ -8880,6 +9616,10 @@ inline DerivationExpression::KindCase DerivationExpression::kind_case() const { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope)