Skip to content

Conversation

@eye-gu
Copy link
Contributor

@eye-gu eye-gu commented Aug 8, 2023

Purpose of the pull request

close #14704

Brief change log

rm backquote in sql

Verify this pull request

@SbloodyS SbloodyS requested a review from zhongjiajie August 10, 2023 03:35
@eye-gu eye-gu force-pushed the Fix-14704 branch 3 times, most recently from 12334bb to 9b0a8f8 Compare August 15, 2023 07:31
@eye-gu eye-gu force-pushed the Fix-14704 branch 2 times, most recently from 35e6ece to 6bd322d Compare August 25, 2023 07:23
on a.id = b.rule_input_entry_id order by b.index
</select>

<select id="getRuleInputEntryList" databaseId="pg" resultType="org.apache.dolphinscheduler.dao.entity.DqRuleInputEntry">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eye-gu Although this is also a solution, but it means that we have to maintain two same sql.
Can this sql be splited into simple query? WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the backquote will cause unit testing to fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And there is another solution is to change this column name and totally avoid questions like this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#14653 here is another solution

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the #14653 solution is better

@codecov-commenter
Copy link

codecov-commenter commented Sep 9, 2023

Codecov Report

Merging #14717 (d99db95) into dev (613bcc3) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head d99db95 differs from pull request most recent head 49cc355. Consider uploading reports for the commit 49cc355 to get more accurate results

@@            Coverage Diff            @@
##                dev   #14717   +/-   ##
=========================================
  Coverage     38.80%   38.80%           
- Complexity     4585     4586    +1     
=========================================
  Files          1232     1232           
  Lines         43318    43318           
  Branches       4781     4781           
=========================================
+ Hits          16809    16810    +1     
  Misses        24650    24650           
+ Partials       1859     1858    -1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [dao] select DQ rule page failed

5 participants