2026-01-08 02:20:50.948 INFO  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:153: 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
2026-01-08 02:20:50.982 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:301: 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: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.006 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[1:4:2051] Got TListSplitsStreamIterator
2026-01-08 02:20:51.007 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:200: 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: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
2026-01-08 02:20:51.007 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[1:4:2051] Got ReadSplitsStreamIterator from Connector
2026-01-08 02:20:51.007 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[1:4:2051] Got DataChunk
2026-01-08 02:20:51.008 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[1:4:2051] Got EOF
2026-01-08 02:20:51.008 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
2026-01-08 02:20:51.038 INFO  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:153: New generic proivider lookup source actor(ActorId=[2:4:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2026-01-08 02:20:51.038 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:301: ActorId=[2: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: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.041 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[2:4:2051] Got TListSplitsStreamIterator
2026-01-08 02:20:51.043 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:200: ActorId=[2: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: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
2026-01-08 02:20:51.044 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[2:4:2051] Got ReadSplitsStreamIterator from Connector
2026-01-08 02:20:51.044 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[2:4:2051] Got DataChunk
2026-01-08 02:20:51.045 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[2:4:2051] Got EOF
2026-01-08 02:20:51.045 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007F87EB1D8FC0) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
2026-01-08 02:20:51.068 INFO  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:153: New generic proivider lookup source actor(ActorId=[3:7592810050029454699:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2026-01-08 02:20:51.068 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:301: ActorId=[3:7592810050029454699: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: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.072 WARN  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7592810050029454699:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.000890s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.077 WARN  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7592810050029454699:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.001154s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.081 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[3:7592810050029454699:2051] Got TListSplitsStreamIterator
2026-01-08 02:20:51.081 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:200: ActorId=[3:7592810050029454699: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: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
2026-01-08 02:20:51.081 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[3:7592810050029454699:2051] Got ReadSplitsStreamIterator from Connector
2026-01-08 02:20:51.082 WARN  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E5041640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7592810050029454699:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.003330s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.092 WARN  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7592810050029454699:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.004333s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.099 WARN  ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7592810050029454699:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 4, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.010921s
Call ListSplits.
selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Expected: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
GENERIC-CONNECTOR-MOCK Actual: selects {
  data_source_instance {
    kind: YDB
    endpoint {
      host: "some_host"
      port: 2135
    }
    database: "some_db"
    credentials {
      token {
        type: "IAM"
        value: "token_value"
      }
    }
    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
2026-01-08 02:20:51.115 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[3:7592810050029454699:2051] Got TListSplitsStreamIterator
2026-01-08 02:20:51.115 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:200: ActorId=[3:7592810050029454699: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: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Expected: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
GENERIC-CONNECTOR-MOCK Actual: data_source_instance {
  kind: YDB
  endpoint {
    host: "some_host"
    port: 2135
  }
  database: "some_db"
  credentials {
    token {
      type: "IAM"
      value: "token_value"
    }
  }
  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
2026-01-08 02:20:51.116 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[3:7592810050029454699:2051] Got ReadSplitsStreamIterator from Connector
2026-01-08 02:20:51.116 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[3:7592810050029454699:2051] Got DataChunk
2026-01-08 02:20:51.117 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[3:7592810050029454699:2051] Got EOF
2026-01-08 02:20:51.117 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=20229, tid=0x00007B87E62E8640) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
VERIFY failed (2026-01-08T02:20:51.118471Z): Mismatch allocator in thread
  yql/essentials/minikql/mkql_alloc.cpp:193
  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)+888 (0x1B6E9B48)
NPrivate::Panic(NPrivate::TStaticBuf const&, int, char const*, char const*, char const*, ...)+571 (0x1B6D787B)
NKikimr::NMiniKQL::TScopedAlloc::Acquire()+643 (0x1EA068D3)
NTestSuiteGenericProviderLookupActor::TTestCaseLookupWithErrors::Execute_(NUnitTest::TTestContext&)+46880 (0x1B29E300)
std::__y1::__function::__func<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'(), std::__y1::allocator<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'()>, void ()>::operator()()+280 (0x1B2AE208)
TColoredProcessor::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+538 (0x1BB9C08A)
NUnitTest::TTestBase::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+504 (0x1BB73928)
NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()+1300 (0x1B2AD2F4)
NUnitTest::TTestFactory::Execute()+2176 (0x1BB750E0)
NUnitTest::RunMain(int, char**)+5805 (0x1BB95EED)
??+0 (0x7F87EB53BD90)
__libc_start_main+128 (0x7F87EB53BE40)
_start+41 (0x189C4029)
