"Server has closed the connection" while creating reflection for PostgreSQL table

Salam,

But when i want to display a pérode of dates from date(1) to date(n) :

date1

date2

date3

daten.

how I can do it .is there other clause SQL except recursive in which the Dremio support it.

thanks in advance.

Please is there an equivalent clause of with recursive

In Dremio.

THANKS.

Hi,

Thank you for your habitual reply.

Cordially,

ALI.

@alilos Let us keep this post for the issue on Postgres, is that resolved? Let us discuss the SQL in a separate post, are you able to create one?

I can’t work on Postgres because in our company we work only on MySQL and I think that not resolved using Postgres?.

In any case I’ll see with my team.

@alilos I am confused, then why is the title of this post on Postgres?

Maybe I was wrong only.

Hi

I’am always in waiting of your reply.

Cordially.

ALI.

DATA ANALYSTE ALGERIA.

@alilos OK, Just making sure I understand the problem

  • You are using MySQL
  • When scanning large number of rows you get the below error, right?
(java.sql.SQLNonTransientConnectionException) (conn=786851120) Server has closed the connection. If result set contain huge amount of data, Server expects client to read off the result set relatively fast. In this case, please consider increasing net_wait_timeout session variable / processing your result set faster (check Streaming result sets documentation for more information)

Please confirm?

Hi,

how i can connect into data source of dremio using Python pandas knowing that i have a windows 10 64 bits and python version 310

THANKS.

@alilos This is new topic, can we please open a new post with the right title?