79549870

Date: 2025-04-02 06:46:17
Score: 11.5 🚩
Natty: 5
Report link

I'm new to GE. I was working on a scenario where I need to connect to a Oracle database and fetch the data based on a query and then execute expectations present in suite.

Instead of passing SQL query as a parameter when defining data asset. I want to pass the SQL query as a parameter at run time during validation.run() so that I can pass the query dynamically and it can be used on any database table and columns for that particular DQ check(completeness/range..)

Can you please suggest how to achieve it. If any sample code also helps a lot.

Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): how to achieve
  • RegEx Blacklisted phrase (2.5): Can you please suggest how
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kiran