AAVSO / VStar

VStar is a visualisation and analysis tool for variable star data brought to you by AAVSO
https://www.aavso.org/vstar
GNU Affero General Public License v3.0
10 stars 3 forks source link

Add bitwise operators to VeLa #317

Closed dbenn closed 1 year ago

dbenn commented 1 year ago

Add bitwise AND, OR, XOR, NOT, and shift operators (at least) to VeLa.

314 gives a motivating example (see last comment).

orionlee commented 1 year ago

For the motivational use case in #314 to work (BITWISE_AND(quality, 32) = 0), columns in observation details need to support integer type. Right now they are all string. See https://github.com/AAVSO/VStar/pull/322#issuecomment-1380368542. Update: tracked in #325

dbenn commented 1 year ago

@orionlee, I woke up last night and thought about a couple of things. This was one of them, so sent a note-to-self in the wee hours. :)