Support virtual columns in `union` queries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the failing test PR #421 and compare the affected union behavior with the change introduced by #334. Reproduce the test failure, then verify that virtual columns retain their information in union queries as they did before #334.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Queries with virtual columns will drop or overwrite information when used as part of a union query. This is a regression as a result of #334.
To Reproduce
I opened a failing test PR here which also has a better explanation of some of this behavior.
Expected behavior
Virtual columns can be used in union queries, like before #334.
My environment
- Affects my production application: Yes
- Ruby version: 2.7
- OS: MacOS
--
I opened the corresponding PR a couple months back hoping a failing test would be a helpful way to surface this. Trying an issue in case that's a better pathway. Also cc @ianks (since you authored #334) and @flash-gordon since you reviewed the change in case you have any additional context/advice.
Context: I am trying to upgrade my rom-sql version from 2.x to 3.x and I have code that relies on this behavior that is hard to work around. I can monkey patch what is effectively a revert of #334 but was hoping for an upstream fix and/or maybe some context/advice. I am not sure I have a good intuition for what a proper fix would be but I could try to take a stab if someone will have bandwidth to review.
Thanks!
- Lingua principale
- Ruby
- Stelle
- 220
- Fork
- 97
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rom-rb/rom-sql
-
bug help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
bug help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
bug help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
bug help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
bug help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di rom-rb/rom-sql
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
NatLabRockies/OpenStudio-HPXML#2284 ·
-
aikido security:critical
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dequelabs/axe-core-gems#532 ·
-
print_table with indent and truncate lets lines run up to indent characters past the widthForse già presa @sebxt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
phusion/passenger-docker#480 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 5 giorni