anumaurya114exp commited on
Commit
0a41071
·
1 Parent(s): 522ce80

Upload utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -114,11 +114,11 @@ def getAllTablesInfo(dbEngine, schemaName):
114
  def getSampleDataForTablesAndCols(dbEngine, schemaName, tablesAndCols, maxRows):
115
  data = retrieveTablesDataFromLocalDb(list(tablesAndCols.keys()))
116
  if data!={}:
117
- print("Didn't find any cache/valid cache.")
118
  return data
119
 
120
  dbEngine.connect()
121
  conn = dbEngine.getConnection()
 
122
  print("Getting data from aws redshift")
123
  for table in tablesAndCols.keys():
124
  try:
 
114
  def getSampleDataForTablesAndCols(dbEngine, schemaName, tablesAndCols, maxRows):
115
  data = retrieveTablesDataFromLocalDb(list(tablesAndCols.keys()))
116
  if data!={}:
 
117
  return data
118
 
119
  dbEngine.connect()
120
  conn = dbEngine.getConnection()
121
+ print("Didn't find any cache/valid cache.")
122
  print("Getting data from aws redshift")
123
  for table in tablesAndCols.keys():
124
  try: