2025-11-10 11:48:20.999 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [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-11-10 11:48:21.012 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [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-11-10 11:48:21.020 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[1:4:2051] Got TListSplitsStreamIterator
2025-11-10 11:48:21.020 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [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-11-10 11:48:21.020 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[1:4:2051] Got ReadSplitsStreamIterator from Connector
2025-11-10 11:48:21.021 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [generic] yql_generic_lookup_actor.cpp:341: ActorId=[1:4:2051] Got DataChunk
2025-11-10 11:48:21.021 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[1:4:2051] Got EOF
2025-11-10 11:48:21.022 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007F9F6A714B80) [generic] yql_generic_lookup_actor.cpp:402: Sending lookup results for 3 keys
2025-11-10 11:48:21.099 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F6457E640) [generic] yql_generic_lookup_actor.cpp:151: New generic proivider lookup source actor(ActorId=[2:7571062272018389801:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2025-11-10 11:48:21.100 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F6457E640) [generic] yql_generic_lookup_actor.cpp:288: ActorId=[2:7571062272018389801: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-11-10 11:48:21.107 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F6457E640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7571062272018389801:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.000546s
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-11-10 11:48:21.118 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7571062272018389801:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.001875s
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-11-10 11:48:21.122 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[2:7571062272018389801:2051] Got TListSplitsStreamIterator
2025-11-10 11:48:21.123 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:196: ActorId=[2:7571062272018389801: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-11-10 11:48:21.123 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[2:7571062272018389801:2051] Got ReadSplitsStreamIterator from Connector
2025-11-10 11:48:21.123 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7571062272018389801:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.003707s
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-11-10 11:48:21.130 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7571062272018389801:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.007211s
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-11-10 11:48:21.146 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:425: ActorId=[2:7571062272018389801:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 4, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.015998s
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-11-10 11:48:21.163 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:319: ActorId=[2:7571062272018389801:2051] Got TListSplitsStreamIterator
2025-11-10 11:48:21.163 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:196: ActorId=[2:7571062272018389801: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-11-10 11:48:21.164 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:229: ActorId=[2:7571062272018389801:2051] Got ReadSplitsStreamIterator from Connector
2025-11-10 11:48:21.164 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:341: ActorId=[2:7571062272018389801:2051] Got DataChunk
2025-11-10 11:48:21.165 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[2:7571062272018389801:2051] Got EOF
2025-11-10 11:48:21.165 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1137041, tid=0x00007B9F65EEB640) [generic] yql_generic_lookup_actor.cpp:402: Sending lookup results for 3 keys
VERIFY failed (2025-11-10T11:48:21.165826Z): 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 (0xFCD8226)
NPrivate::Panic(NPrivate::TStaticBuf const&, int, char const*, char const*, char const*, ...)+571 (0xFCC5F7B)
NKikimr::NMiniKQL::TScopedAlloc::Acquire()+643 (0x12FCEB13)
NTestSuiteGenericProviderLookupActor::TTestCaseLookupWithErrors::Execute_(NUnitTest::TTestContext&)+46640 (0xF893850)
std::__y1::__function::__func<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'(), std::__y1::allocator<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'()>, void ()>::operator()()+280 (0xF8A34A8)
TColoredProcessor::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+538 (0x1018907A)
NUnitTest::TTestBase::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+504 (0x10160928)
NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()+1300 (0xF8A2594)
NUnitTest::TTestFactory::Execute()+2176 (0x101620E0)
NUnitTest::RunMain(int, char**)+5805 (0x10182EDD)
??+0 (0x7F9F6AA77D90)
__libc_start_main+128 (0x7F9F6AA77E40)
_start+41 (0xCE1E029)
