Skip to content

getColumns() API failing when number of columns in database is ~ 32k.  #1246

Open
@ghost

Description

Driver version

8.1.1.jre8-preview

SQL Darawarehouse version

Effective version: Azure SQL Database (ver. 12.0.2531)

Client Operating System

Cent OS 7

JAVA/JVM version

openjdk version "1.8.0_232"

Table schema

Problem description

getColumns() API failing when number of columns in database is ~ 32k.
errorNumber: 103003
vendorCode: 103003
SQLState: S0001
errorMessage: Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries.

  1. Expected behaviour: Should return all columns
  2. Actual behaviour: Error thrown
  3. Error message/stack trace: Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries.
  4. Any other details that can be helpful:

JDBC trace logs

Reproduction code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions