Journey_Plan data Import
This commit is contained in:
@@ -166,4 +166,26 @@ Traceback (most recent call last):
|
||||
data = cursor.fetchmany(chunksize)
|
||||
pyodbc.OperationalError: ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n (10060) (SQLGetData); [08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure (10060)')
|
||||
|
||||
================================
|
||||
|
||||
================================
|
||||
TIME : 2026-05-19 17:16:08.366780
|
||||
ERROR : ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: An existing connection was forcibly closed by the remote host.\r\n (10054) (SQLGetData); [08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure (10054)')
|
||||
TRACEBACK :
|
||||
Traceback (most recent call last):
|
||||
File "d:\Python Code\Sales_Import.py", line 411, in <module>
|
||||
for chunk in pd.read_sql(
|
||||
~~~~~~~~~~~^
|
||||
query,
|
||||
^^^^^^
|
||||
sql_conn,
|
||||
^^^^^^^^^
|
||||
chunksize=chunk_size
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
):
|
||||
^
|
||||
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\pandas\io\sql.py", line 2730, in _query_iterator
|
||||
data = cursor.fetchmany(chunksize)
|
||||
pyodbc.OperationalError: ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: An existing connection was forcibly closed by the remote host.\r\n (10054) (SQLGetData); [08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure (10054)')
|
||||
|
||||
================================
|
||||
Reference in New Issue
Block a user