arcadedb icon indicating copy to clipboard operation
arcadedb copied to clipboard

[WIP] Add "hidden" property attribute

Open gramian opened this issue 1 year ago • 0 comments

What does this PR do?

This new boolean property attribute called hidden excludes properties from a projection containing a * (star).

Motivation

ZetaSQL

Related issues

https://github.com/ArcadeData/arcadedb/discussions/1439

Additional Notes

This is the interesting change set: https://github.com/ArcadeData/arcadedb/pull/1503/files#diff-1ebfff8995bc54eab127a05a7f09d799b215972c6aa872635f37d86e824fb0b3

  • Basically now the any projection with a * (isAll) gets parsed property by property not by copy any more.
  • Particularly I don't understand why the argument record is copied into the result as whole (see https://github.com/ArcadeData/arcadedb/pull/1503/files#diff-1ebfff8995bc54eab127a05a7f09d799b215972c6aa872635f37d86e824fb0b3R108 )?
  • SELECT * FROM x works, but SELECT FROM x does not.

Checklist

  • [ ] I have run the build using mvn clean package command
  • [ ] My unit tests cover both failure and success scenarios

gramian avatar Mar 09 '24 19:03 gramian