2025-12-12 11:17:25.419 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:151: New generic proivider lookup source actor(ActorId=[1:4:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2025-12-12 11:17:25.462 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:299: 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
2025-12-12 11:17:25.503 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:330: ActorId=[1:4:2051] Got TListSplitsStreamIterator
2025-12-12 11:17:25.504 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:198: 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
2025-12-12 11:17:25.504 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:231: ActorId=[1:4:2051] Got ReadSplitsStreamIterator from Connector
2025-12-12 11:17:25.505 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[1:4:2051] Got DataChunk
2025-12-12 11:17:25.520 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:363: ActorId=[1:4:2051] Got EOF
2025-12-12 11:17:25.521 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007F0938AF5FC0) [generic] yql_generic_lookup_actor.cpp:413: Sending lookup results for 3 keys
2025-12-12 11:17:25.581 INFO  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0932CA9640) [generic] yql_generic_lookup_actor.cpp:151: New generic proivider lookup source actor(ActorId=[2:7582929026098190345:2051]) for kind=YDB, endpoint=host: "some_host" port: 2135, database=some_db, use_tls=1, protocol=NATIVE, table=lookup_test
2025-12-12 11:17:25.581 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0932CA9640) [generic] yql_generic_lookup_actor.cpp:299: ActorId=[2:7582929026098190345: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
2025-12-12 11:17:25.584 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0932CA9640) [generic] yql_generic_lookup_actor.cpp:436: ActorId=[2:7582929026098190345:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.000783s
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
2025-12-12 11:17:25.589 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:436: ActorId=[2:7582929026098190345:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.001505s
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
2025-12-12 11:17:25.595 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:330: ActorId=[2:7582929026098190345:2051] Got TListSplitsStreamIterator
2025-12-12 11:17:25.595 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:198: ActorId=[2:7582929026098190345: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
2025-12-12 11:17:25.595 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:231: ActorId=[2:7582929026098190345:2051] Got ReadSplitsStreamIterator from Connector
2025-12-12 11:17:25.596 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:436: ActorId=[2:7582929026098190345:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.002587s
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
2025-12-12 11:17:25.606 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:436: ActorId=[2:7582929026098190345:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 14, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.005547s
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
2025-12-12 11:17:25.611 WARN  ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:436: ActorId=[2:7582929026098190345:2051] Got retrievable GRPC Error from Connector: gRpcStatusCode: 4, Msg: Mocked Error, Details: , InternalError: 0, retry scheduled in 0.015773s
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
2025-12-12 11:17:25.627 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:330: ActorId=[2:7582929026098190345:2051] Got TListSplitsStreamIterator
2025-12-12 11:17:25.627 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:198: ActorId=[2:7582929026098190345: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
2025-12-12 11:17:25.628 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:231: ActorId=[2:7582929026098190345:2051] Got ReadSplitsStreamIterator from Connector
2025-12-12 11:17:25.628 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:352: ActorId=[2:7582929026098190345:2051] Got DataChunk
2025-12-12 11:17:25.629 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:363: ActorId=[2:7582929026098190345:2051] Got EOF
2025-12-12 11:17:25.629 DEBUG ydb-library-yql-providers-generic-actors-ut(pid=1712865, tid=0x00007B0933C08640) [generic] yql_generic_lookup_actor.cpp:413: Sending lookup results for 3 keys
VERIFY failed (2025-12-12T11:17:25.630789Z): Mismatch allocator in thread
  yql/essentials/minikql/mkql_alloc.cpp:193
  Acquire(): requirement TlsAllocState == &MyState_ failed
NPrivate::InternalPanicImpl(int, char const*, char const*, int, int, int, TBasicStringBuf<char, std::__y1::char_traits<char>>, char const*, unsigned long)+888 (0x1B37DA88)
NPrivate::Panic(NPrivate::TStaticBuf const&, int, char const*, char const*, char const*, ...)+571 (0x1B36B7BB)
NKikimr::NMiniKQL::TScopedAlloc::Acquire()+643 (0x1E698D13)
NTestSuiteGenericProviderLookupActor::TTestCaseLookupWithErrors::Execute_(NUnitTest::TTestContext&)+46880 (0x1AF32DD0)
std::__y1::__function::__func<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'(), std::__y1::allocator<NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()::'lambda'()>, void ()>::operator()()+280 (0x1AF42B18)
TColoredProcessor::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+538 (0x1B82E20A)
NUnitTest::TTestBase::Run(std::__y1::function<void ()>, TBasicString<char, std::__y1::char_traits<char>> const&, char const*, bool)+504 (0x1B805AA8)
NTestSuiteGenericProviderLookupActor::TCurrentTest::Execute()+1300 (0x1AF41C04)
NUnitTest::TTestFactory::Execute()+2176 (0x1B807260)
NUnitTest::RunMain(int, char**)+5805 (0x1B82806D)
??+0 (0x7F0938E58D90)
__libc_start_main+128 (0x7F0938E58E40)
_start+41 (0x18682029)
