2025-10-12 10:38:08.827 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:151: New generic proivider lookup source actor(ActorId=[1:4:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2025-10-12 10:38:08.846 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:288: ActorId=[1:4:2051] Got LookupRequest for 3 keys
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 0
2025-10-12 10:38:08.854 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[1:4:2051] Got TListSplitsStreamIterator
2025-10-12 10:38:08.854 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:196: ActorId=[1:4:2051] Got TListSplitsResponse from Connector
Call ReadSplits.
data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
ReadSplits result.
GRpcStatusCode: 0
2025-10-12 10:38:08.855 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[1:4:2051] Got ReadSplitsStreamIterator from Connector
2025-10-12 10:38:08.855 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:341: ActorId=[1:4:2051] Got DataChunk
2025-10-12 10:38:08.856 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[1:4:2051] Got EOF
2025-10-12 10:38:08.856 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007FB55DF0DB80) [generic] yql_generic_lookup_actor.cpp:402: Sending lookup results for 3 keys
2025-10-12 10:38:08.890 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB557D7E640) [generic] yql_generic_lookup_actor.cpp:151: New generic proivider lookup source actor(ActorId=[2:7560282703775277031:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2025-10-12 10:38:08.892 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB557D7E640) [generic] yql_generic_lookup_actor.cpp:288: ActorId=[2:7560282703775277031:2051] Got LookupRequest for 3 keys
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 14
Mocked Error
2025-10-12 10:38:08.902 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB557D7E640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7560282703775277031:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.000577s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 14
Mocked Error
2025-10-12 10:38:08.911 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7560282703775277031:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.001345s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 0
2025-10-12 10:38:08.914 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[2:7560282703775277031:2051] Got TListSplitsStreamIterator
2025-10-12 10:38:08.914 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:196: ActorId=[2:7560282703775277031:2051] Got TListSplitsResponse from Connector
Call ReadSplits.
data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
ReadSplits result.
GRpcStatusCode: 14
Mocked Error
2025-10-12 10:38:08.915 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[2:7560282703775277031:2051] Got ReadSplitsStreamIterator from Connector
2025-10-12 10:38:08.915 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7560282703775277031:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.003805s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 14
Mocked Error
2025-10-12 10:38:08.922 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7560282703775277031:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.004987s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 4
Mocked Error
2025-10-12 10:38:09.019 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7560282703775277031:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 4, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.009647s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
CRAB Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "TEST_TOKEN"
      }
    }
    use_tls: true
    protocol: NATIVE
  }
  what {
    items {
      column {
        name: "id"
        type {
          type_id: UINT64
        }
      }
    }
    items {
      column {
        name: "optional_id"
        type {
          optional_type {
            item {
              type_id: UINT64
            }
          }
        }
      }
    }
    items {
      column {
        name: "string_value"
        type {
          optional_type {
            item {
              type_id: STRING
            }
          }
        }
      }
    }
  }
  from {
    table: "lookup_test"
  }
  where {
    filter_typed {
      disjunction {
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 1
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 101
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 0
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 100
                    }
                  }
                }
              }
            }
          }
        }
        operands {
          conjunction {
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "id"
                }
                right_value {
                  typed_value {
                    type {
                      type_id: UINT64
                    }
                    value {
                      uint64_value: 2
                    }
                  }
                }
              }
            }
            operands {
              comparison {
                operation: EQ
                left_value {
                  column: "optional_id"
                }
                right_value {
                  typed_value {
                    type {
                      optional_type {
                        item {
                          type_id: UINT64
                        }
                      }
                    }
                    value {
                      uint64_value: 102
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
max_split_count: 1
ListSplits result.
GRpcStatusCode: 0
2025-10-12 10:38:09.030 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[2:7560282703775277031:2051] Got TListSplitsStreamIterator
2025-10-12 10:38:09.031 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:196: ActorId=[2:7560282703775277031:2051] Got TListSplitsResponse from Connector
Call ReadSplits.
data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
CRAB Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "TEST_TOKEN"
    }
  }
  use_tls: true
  protocol: NATIVE
}
splits {
  select {
    from {
      table: "example_1"
    }
  }
  description: "Actual split info is not important"
}
format: ARROW_IPC_STREAMING
filtering: FILTERING_MANDATORY
ReadSplits result.
GRpcStatusCode: 0
2025-10-12 10:38:09.031 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[2:7560282703775277031:2051] Got ReadSplitsStreamIterator from Connector
2025-10-12 10:38:09.031 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:341: ActorId=[2:7560282703775277031:2051] Got DataChunk
2025-10-12 10:38:09.032 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[2:7560282703775277031:2051] Got EOF
2025-10-12 10:38:09.032 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1226516, tid=0x00007BB5596EB640) [generic] yql_generic_lookup_actor.cpp:402: Sending lookup results for 3 keys
VERIFY failed (2025-10-12T10:38:09.033727Z): Mismatch allocator in thread
  yql/essentials/minikql/mkql_alloc.cpp:192
  Acquire(): requirement TlsAllocState == &MyState_ failed
NPrivate::InternalPanicImpl(int, char const*, char const*, int, int, int, TBasicStringBuf<char, std::__y1::char_traits<char>>, char const*, unsigned long)+854 (0xFCB3A36)
NPrivate::Panic(NPrivate::TStaticBuf const&, int, char const*, char const*, char const*, ...)+571 (0xFCA178B)
NKikimr::NMiniKQL::TScopedAlloc::Acquire()+643 (0x12FA9933)
NTestSuiteGenericProviderLookupActor::TTestCaseLookupWithErrors::Execute_(NUnitTest::TTestContext&)+46148 (0xF86E9C4)
std::__y1::__function::__func<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'(), std::__y1::allocator<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'()>, void ()>::operator()()+280 (0xF87E5C8)
TColoredProcessor::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+538 (0x1016444A)
NUnitTest::TTestBase::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+504 (0x1013BCF8)
NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()+1300 (0xF87D6B4)
NUnitTest::TTestFactory::Execute()+2176 (0x1013D4B0)
NUnitTest::RunMain(int, char**)+5805 (0x1015E2AD)
??+0 (0x7FB55E270D90)
__libc_start_main+128 (0x7FB55E270E40)
_start+41 (0xCDF9029)
