SPLWare / SPLWare/esProc

计算结果为空时如何返回带结构的空序表

Open
#13 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.7k
Forks
364
PR merge metrics
No merged PRs in 30d

Description

如果spl最后计算结果为空,就会return null,应用调用时由于没有结构引用字段时就会出错。还要专门创建一个空序表返回。这块能否改进,或有什么更好的办法?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the SPL calculation path that returns null for an empty result and the application call path that fails when no structural reference fields are present. Clarify the expected structure of an empty table, then verify that empty calculations return it consistently and that existing non-empty results remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.