Vaibhav84 commited on
Commit
950345a
·
1 Parent(s): 5b1173d
Files changed (1) hide show
  1. SkillExtract.py +1 -1
SkillExtract.py CHANGED
@@ -87,7 +87,7 @@ class SkillExtractorDetails:
87
  jd_id = str(JdID)
88
  # Retrieve "id" and "description" columns from the table
89
  #query = sql.SQL("select jdmasterid,jobdescription from JDMaster where isskillsextracted in (0)")
90
- query = "select jdmasterid,jobdescription,filename from JDMaster where isskillsextracted = 0 and jdmasterid = str(" + jd_id + ")"
91
 
92
  # Use Pandas to read the data into a DataFrame
93
  df = pd.read_sql_query(query, conn)
 
87
  jd_id = str(JdID)
88
  # Retrieve "id" and "description" columns from the table
89
  #query = sql.SQL("select jdmasterid,jobdescription from JDMaster where isskillsextracted in (0)")
90
+ query = "select jdmasterid,jobdescription,filename from JDMaster where isskillsextracted = 0 and jdmasterid ="+ jd_id
91
 
92
  # Use Pandas to read the data into a DataFrame
93
  df = pd.read_sql_query(query, conn)