daniellansun commented on PR #2263:
URL: https://github.com/apache/groovy/pull/2263#issuecomment-3064624433
I like the improvement very much!
It would be great if the result of GINQ in groovySh could be shown as ascii
table as usual.
BTW, `on` is a keyword of GINQ too.
```
groovy> GQ {
add: }> from n in [1, 2, 3]
add: }> innerjoin m in [2, 3, 4] on m = n
add: }> select m, n
add: }> }
NULL
INSTANCE
[INSTANCE:org.apache.groovy.ginq.provider.collection.runtime.Null@0,
class:class org.apache.groovy.ginq.pro
class org.apache.groovy.ginq.provider.collection.runtime.Null
EMPTY_QUERYABLE
NULL
[INSTANCE:org.apache.groovy.ginq.provider.collection.runtime.Null@0,
class:class org.apache.gro
EMPTY_QUERYABLE
[NULL:org.apache.groovy.ginq.provider.collection.runtime.Null@0,
EMPTY_QUERYABLE:[], allPartiti
allPartitionCache [:]
partitionCache [:]
sortedPartitionCache [:]
sourceStream null
sourceIterable []
rwl [class:class
java.util.concurrent.locks.ReentrantReadWriteLock, fair:false, queueLength:0,
read
readLock [class:class
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock]
writeLock [class:class
java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock,
heldByCurrentThread:f
BD_TWO 2
USE_WINDOW_FUNCTION useWindowFunction
PARALLEL parallel
TRUE_STR true
FALSE_STR false
serialVersionUID -5067092453136522893
class
org.apache.groovy.ginq.provider.collection.runtime.QueryableCollection
reusable true
parallel false
allPartitionCache [:]
partitionCache [:]
sortedPartitionCache [:]
sourceStream
class java.util.stream.ReferencePipeline$3
parallel false
sourceIterable null
rwl
class
java.util.concurrent.locks.ReentrantReadWriteLock
fair false
queueLength 0
readHoldCount 0
readLockCount 0
writeHoldCount 0
writeLocked false
writeLockedByCurrentThread false
readLock
class java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock
writeLock
class
java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock
heldByCurrentThread false
holdCount 0
BD_TWO 2
USE_WINDOW_FUNCTION useWindowFunction
PARALLEL parallel
TRUE_STR true
FALSE_STR false
serialVersionUID -5067092453136522893
class
org.apache.groovy.ginq.provider.collection.runtime.QueryableCollection
reusable false
parallel false
groovy>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]