2026-02-19 08:43:14.419 INFO  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.433 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.444 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[1:4:2051] Got TListSplitsStreamIterator
2026-02-19 08:43:14.444 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.445 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[1:4:2051] Got ReadSplitsStreamIterator from Connector
2026-02-19 08:43:14.445 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[1:4:2051] Got DataChunk
2026-02-19 08:43:14.446 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[1:4:2051] Got EOF
2026-02-19 08:43:14.446 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
2026-02-19 08:43:14.454 INFO  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.454 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.456 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[2:4:2051] Got TListSplitsStreamIterator
2026-02-19 08:43:14.457 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [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-02-19 08:43:14.457 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[2:4:2051] Got ReadSplitsStreamIterator from Connector
2026-02-19 08:43:14.457 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[2:4:2051] Got DataChunk
2026-02-19 08:43:14.458 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[2:4:2051] Got EOF
2026-02-19 08:43:14.458 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007FB650F1E000) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
2026-02-19 08:43:14.574 INFO  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB648EBA640) [generic] yql_generic_lookup_actor.cpp:153: New generic proivider lookup source actor(ActorId=[3:7608494166845567535:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2026-02-19 08:43:14.574 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB648EBA640) [generic] yql_generic_lookup_actor.cpp:301: ActorId=[3:7608494166845567535: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-02-19 08:43:14.577 WARN  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB648EBA640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7608494166845567535:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.000691s
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-02-19 08:43:14.580 WARN  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB648EBA640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7608494166845567535:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.001163s
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-02-19 08:43:14.585 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[3:7608494166845567535:2051] Got TListSplitsStreamIterator
2026-02-19 08:43:14.585 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:200: ActorId=[3:7608494166845567535: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-02-19 08:43:14.585 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[3:7608494166845567535:2051] Got ReadSplitsStreamIterator from Connector
2026-02-19 08:43:14.586 WARN  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7608494166845567535:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.002337s
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-02-19 08:43:14.590 WARN  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7608494166845567535:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.006754s
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-02-19 08:43:14.599 WARN  ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:442: ActorId=[3:7608494166845567535:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 4, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.008658s
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-02-19 08:43:14.610 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:332: ActorId=[3:7608494166845567535:2051] Got TListSplitsStreamIterator
2026-02-19 08:43:14.610 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:200: ActorId=[3:7608494166845567535: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-02-19 08:43:14.610 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:233: ActorId=[3:7608494166845567535:2051] Got ReadSplitsStreamIterator from Connector
2026-02-19 08:43:14.610 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:354: ActorId=[3:7608494166845567535:2051] Got DataChunk
2026-02-19 08:43:14.611 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:365: ActorId=[3:7608494166845567535:2051] Got EOF
2026-02-19 08:43:14.611 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=27299, tid=0x00007BB64C169640) [generic] yql_generic_lookup_actor.cpp:419: Sending lookup results for 3 keys
VERIFY failed (2026-02-19T08:43:14.613468Z): Mismatch allocator in thread
  yql/essentials/minikql/mkql_alloc.cpp:197
  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 (0x1C1EDCA8)
NPrivate::Panic(NPrivate::TStaticBuf const&, int, char const*, char const*, char const*, ...)+571 (0x1C1DB9CB)
NKikimr::NMiniKQL::TScopedAlloc::Acquire()+643 (0x1F58E803)
NTestSuiteGenericProviderLookupActor::TTestCaseLookupWithErrors::Execute_(NUnitTest::TTestContext&)+47376 (0x1BD8E1D0)
std::__y1::__function::__func<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'(), std::__y1::allocator<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'()>, void ()>::operator()()+280 (0x1BD9F0D8)
TColoredProcessor::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+538 (0x1C69DD3A)
NUnitTest::TTestBase::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+504 (0x1C676848)
NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()+1357 (0x1BD9E19D)
NUnitTest::TTestFactory::Execute()+2176 (0x1C678000)
NUnitTest::RunMain(int, char**)+5805 (0x1C697E4D)
??+0 (0x7FB651280D90)
__libc_start_main+128 (0x7FB651280E40)
_start+41 (0x19304029)
