astronomy-commons/hats-tap
ADQL translator should support `.query` as well as DNF
开放
#21 创建于 2025年12月2日
enhancementgood first issue
仓库指标
- 星标
- (1 个星标)
- PR 合并指标
- (平均合并 2天 7小时) (30 天内合并 1 个 PR)
描述
Feature request
At present, the conditional clauses in a WHERE statement in ADQL are translated into lists of lists in the style that filters= wants (DNF). However, the .query() function is more general and would be able to handle more arbitrary mathematical expressions. We may to choose .query() in some cases or even all cases. The virtue of DNF is that over slow links, the expressions in filters= can be evaluated on the server side and don't become part of the Dask task graph.
Before submitting Please check the following:
- I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
- I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
- If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.