guijinxin opened a new issue, #2931: URL: https://github.com/apache/incubator-hugegraph/issues/2931
### Bug Type (问题类型) None ### Before submit - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: 1.7.0 - Backend: RocksDB x nodes - OS: 192 CPUs, 256 G RAM, Ubuntu 22.04 - Data Size: 50 vertices, 100 edges ### Expected & Actual behavior (期望与实际表现) ### Expected behavior For the two query below, the same result should be returned: ```gremlin g.V().both('el2','el1','el3').inE('el2').where(__.bothV().count().is(outside(-1435889948263879801,-3366956858553110955))).count() g.V().repeat(__.both('el2','el1','el3')).times(1).inE('el2').match(__.as('start').where(__.bothV().count().is(outside(-1435889948263879801,-3366956858553110955))).as('end')).select('end').count() ``` the first query returns: ```0``` the second query returns: ```99``` ### Actual behavior + The first query returns: 0 + The second query returns: 99 + We replaced the ```both('el2','el1','el3')``` step in the first query with ```repeat(__.both('el2','el1','el3')).times(1)```, and moved the```where (...)``` step into the ```match()```step. Both of these operations should not affect the result. + When I executed these two queries on Janusgraph and Tinkerpop, they both returned the same results. ### Vertex/Edge example (问题点 / 边数据举例) ```javascript Vertex: g.addV('vl2').property('vp4','-1996315960').property(T.id,1073334929980391424) g.addV('vl1').property('vp1','-1.99631596E9').property('vp0','false').property('vp3','0.6692358').property('vp5','''').property('vp4','-1996315960').property(T.id,1073334930303352832) g.addV('vl0').property('vp1','0.03640547121382898').property('vp3','0.1505804').property(T.id,1073334931624558592) g.addV('vl3').property('vp3','0.1000725').property(T.id,1073334931741999104) g.addV('vl2').property('vp4','-53355333').property(T.id,1073334931855245312) g.addV('vl0').property('vp1','0.8656720793331765').property('vp3','0.66958004').property('vp5',''y)'').property('vp4','1863775872').property(T.id,1073334931964297216) g.addV('vl1').property('vp3','0.86990106').property('vp2','0.47505748').property('vp5',''>4us~2f<'').property('vp4','192183448').property(T.id,1073334932090126336) g.addV('vl3').property('vp3','0.36008227').property(T.id,1073334932207566848) g.addV('vl2').property('vp4','-1451628199').property(T.id,1073334932316618752) g.addV('vl2').property('vp4','192183448').property(T.id,1073334932425670656) g.addV('vl3').property('vp3','0.5443846').property(T.id,1073334932534722560) g.addV('vl2').property('vp4','-793657272').property(T.id,1073334932635385856) g.addV('vl3').property('vp3','0.44816226').property(T.id,1073334932752826368) g.addV('vl1').property('vp1','0.15778617815855067').property('vp0','false').property('vp3','0.89968234').property('vp2','0.005086541').property('vp5','',9L'').property('vp4','-1113020056').property(T.id,1073334932866072576) g.addV('vl3').property('vp3','0.86341083').property(T.id,1073334932975124480) g.addV('vl1').property('vp0','false').property('vp3','0.48650658').property('vp5','''').property(T.id,1073334933113536512) g.addV('vl0').property('vp1','1.863775872E9').property('vp3','0.8047094').property('vp5','''').property('vp4','-793657272').property(T.id,1073334933222588416) g.addV('vl0').property('vp1','0.6372421928935559').property('vp3','0.6140973').property('vp5',''-1451628199'').property('vp4','1291685745').property(T.id,1073334933331640320) g.addV('vl3').property('vp3','0.30649328').property(T.id,1073334933440692224) g.addV('vl1').property('vp3','0.5157122').property(T.id,1073334933549744128) g.addV('vl0').property('vp1','0.43348176600714905').property('vp3','0.2642486').property('vp5','''').property('vp4','1242557523').property(T.id,1073334933662990336) g.addV('vl1').property('vp1','0.15778617815855067').property('vp0','true').property('vp4','-116493400').property(T.id,1073334933776236544) g.addV('vl2').property('vp4','1051809283').property(T.id,1073334933889482752) g.addV('vl3').property('vp3','0.9728154').property(T.id,1073334933998534656) g.addV('vl1').property('vp1','0.7360742986780952').property('vp0','false').property('vp3','0.8008669').property('vp2','0.23408818').property('vp5','''').property('vp4','679376528').property(T.id,1073334934111780864) g.addV('vl3').property('vp3','0.2717868').property(T.id,1073334934229221376) g.addV('vl3').property('vp3','0.016671836').property(T.id,1073334934342467584) g.addV('vl0').property('vp3','0.3777938').property('vp5',''>4us~2f<'').property('vp4','-793657272').property(T.id,1073334934451519488) g.addV('vl3').property('vp3','0.34408605').property(T.id,1073334934594125824) g.addV('vl2').property('vp4','-1113020056').property(T.id,1073334934703177728) g.addV('vl2').property('vp4','338077081').property(T.id,1073334934812229632) g.addV('vl0').property('vp1','0.3739300587488349').property('vp3','0.64196444').property('vp5','''').property('vp4','1474891259').property(T.id,1073334934921281536) g.addV('vl0').property('vp3','0.62307286').property(T.id,1073334935034527744) g.addV('vl1').property('vp0','true').property('vp3','0.39886487').property('vp2','0.121292174').property(T.id,1073334935143579648) g.addV('vl1').property('vp2','0.8773476').property('vp5',''-1113020056'').property(T.id,1073334935256825856) g.addV('vl3').property('vp3','0.22535342').property(T.id,1073334935374266368) g.addV('vl2').property('vp4','1291685745').property(T.id,1073334935487512576) g.addV('vl3').property('vp3','0.29783732').property(T.id,1073334935596564480) g.addV('vl2').property('vp4','-922165297').property(T.id,1073334935705616384) g.addV('vl1').property('vp5',''#,[T'').property('vp4','83273291').property(T.id,1073334935802085376) g.addV('vl0').property('vp3','0.0925529').property('vp4','493728762').property(T.id,1073334935911137280) g.addV('vl3').property('vp3','0.5261628').property(T.id,1073334936024383488) g.addV('vl2').property('vp4','1694862159').property(T.id,1073334936125046784) g.addV('vl0').property('vp5',''%'').property(T.id,1073334936238292992) g.addV('vl2').property('vp4','-793657272').property(T.id,1073334936343150592) g.addV('vl3').property('vp3','0.027777076').property(T.id,1073334936452202496) g.addV('vl2').property('vp4','-1113020056').property(T.id,1073334936565448704) g.addV('vl1').property('vp1','0.6372421928935559').property('vp0','false').property('vp3','0.978819').property('vp2','0.12644798').property(T.id,1073334936674500608) g.addV('vl0').property('vp4','1622755909').property(T.id,1073334936787746816) g.addV('vl0').property('vp1','0.17061465108352902').property(T.id,1073334936900993024) Edge: g.V(1073334931624558592).as('1073334931624558592').V(1073334930303352832).as('1073334930303352832').addE('el1').from('1073334931624558592').to('1073334930303352832') g.V(1073334935374266368).as('1073334935374266368').V(1073334936787746816).as('1073334936787746816').addE('el2').from('1073334935374266368').to('1073334936787746816') g.V(1073334933662990336).as('1073334933662990336').V(1073334934111780864).as('1073334934111780864').addE('el1').from('1073334933662990336').to('1073334934111780864') g.V(1073334935374266368).as('1073334935374266368').V(1073334931624558592).as('1073334931624558592').addE('el2').from('1073334935374266368').to('1073334931624558592') g.V(1073334933549744128).as('1073334933549744128').V(1073334932425670656).as('1073334932425670656').addE('el0').from('1073334933549744128').to('1073334932425670656') g.V(1073334934921281536).as('1073334934921281536').V(1073334933113536512).as('1073334933113536512').addE('el1').from('1073334934921281536').to('1073334933113536512') g.V(1073334934229221376).as('1073334934229221376').V(1073334933549744128).as('1073334933549744128').addE('el3').from('1073334934229221376').to('1073334933549744128') g.V(1073334932207566848).as('1073334932207566848').V(1073334935256825856).as('1073334935256825856').addE('el3').from('1073334932207566848').to('1073334935256825856') g.V(1073334931741999104).as('1073334931741999104').V(1073334933113536512).as('1073334933113536512').addE('el3').from('1073334931741999104').to('1073334933113536512') g.V(1073334935374266368).as('1073334935374266368').V(1073334933776236544).as('1073334933776236544').addE('el3').from('1073334935374266368').to('1073334933776236544') g.V(1073334935256825856).as('1073334935256825856').V(1073334931855245312).as('1073334931855245312').addE('el0').from('1073334935256825856').to('1073334931855245312') g.V(1073334934342467584).as('1073334934342467584').V(1073334936787746816).as('1073334936787746816').addE('el2').from('1073334934342467584').to('1073334936787746816') g.V(1073334935034527744).as('1073334935034527744').V(1073334932090126336).as('1073334932090126336').addE('el1').from('1073334935034527744').to('1073334932090126336') g.V(1073334932752826368).as('1073334932752826368').V(1073334933549744128).as('1073334933549744128').addE('el3').from('1073334932752826368').to('1073334933549744128') g.V(1073334933549744128).as('1073334933549744128').V(1073334933889482752).as('1073334933889482752').addE('el0').from('1073334933549744128').to('1073334933889482752') g.V(1073334932975124480).as('1073334932975124480').V(1073334935802085376).as('1073334935802085376').addE('el3').from('1073334932975124480').to('1073334935802085376') g.V(1073334934451519488).as('1073334934451519488').V(1073334932090126336).as('1073334932090126336').addE('el1').from('1073334934451519488').to('1073334932090126336') g.V(1073334933662990336).as('1073334933662990336').V(1073334930303352832).as('1073334930303352832').addE('el1').from('1073334933662990336').to('1073334930303352832') g.V(1073334933998534656).as('1073334933998534656').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334933998534656').to('1073334932090126336') g.V(1073334933440692224).as('1073334933440692224').V(1073334933222588416).as('1073334933222588416').addE('el2').from('1073334933440692224').to('1073334933222588416') g.V(1073334932975124480).as('1073334932975124480').V(1073334933776236544).as('1073334933776236544').addE('el3').from('1073334932975124480').to('1073334933776236544') g.V(1073334935034527744).as('1073334935034527744').V(1073334936674500608).as('1073334936674500608').addE('el1').from('1073334935034527744').to('1073334936674500608') g.V(1073334934921281536).as('1073334934921281536').V(1073334933776236544).as('1073334933776236544').addE('el1').from('1073334934921281536').to('1073334933776236544') g.V(1073334932090126336).as('1073334932090126336').V(1073334934703177728).as('1073334934703177728').addE('el0').from('1073334932090126336').to('1073334934703177728') g.V(1073334935596564480).as('1073334935596564480').V(1073334933549744128).as('1073334933549744128').addE('el3').from('1073334935596564480').to('1073334933549744128') g.V(1073334936787746816).as('1073334936787746816').V(1073334933549744128).as('1073334933549744128').addE('el1').from('1073334936787746816').to('1073334933549744128') g.V(1073334932207566848).as('1073334932207566848').V(1073334935034527744).as('1073334935034527744').addE('el2').from('1073334932207566848').to('1073334935034527744') g.V(1073334932207566848).as('1073334932207566848').V(1073334936787746816).as('1073334936787746816').addE('el2').from('1073334932207566848').to('1073334936787746816') g.V(1073334933776236544).as('1073334933776236544').V(1073334936125046784).as('1073334936125046784').addE('el0').from('1073334933776236544').to('1073334936125046784') g.V(1073334935911137280).as('1073334935911137280').V(1073334935256825856).as('1073334935256825856').addE('el1').from('1073334935911137280').to('1073334935256825856') g.V(1073334935596564480).as('1073334935596564480').V(1073334932866072576).as('1073334932866072576').addE('el3').from('1073334935596564480').to('1073334932866072576') g.V(1073334931624558592).as('1073334931624558592').V(1073334933113536512).as('1073334933113536512').addE('el1').from('1073334931624558592').to('1073334933113536512') g.V(1073334932534722560).as('1073334932534722560').V(1073334935256825856).as('1073334935256825856').addE('el3').from('1073334932534722560').to('1073334935256825856') g.V(1073334935802085376).as('1073334935802085376').V(1073334934812229632).as('1073334934812229632').addE('el0').from('1073334935802085376').to('1073334934812229632') g.V(1073334936674500608).as('1073334936674500608').V(1073334931855245312).as('1073334931855245312').addE('el0').from('1073334936674500608').to('1073334931855245312') g.V(1073334936787746816).as('1073334936787746816').V(1073334935802085376).as('1073334935802085376').addE('el1').from('1073334936787746816').to('1073334935802085376') g.V(1073334933776236544).as('1073334933776236544').V(1073334932635385856).as('1073334932635385856').addE('el0').from('1073334933776236544').to('1073334932635385856') g.V(1073334930303352832).as('1073334930303352832').V(1073334932425670656).as('1073334932425670656').addE('el0').from('1073334930303352832').to('1073334932425670656') g.V(1073334936452202496).as('1073334936452202496').V(1073334935143579648).as('1073334935143579648').addE('el3').from('1073334936452202496').to('1073334935143579648') g.V(1073334934229221376).as('1073334934229221376').V(1073334930303352832).as('1073334930303352832').addE('el3').from('1073334934229221376').to('1073334930303352832') g.V(1073334931741999104).as('1073334931741999104').V(1073334935143579648).as('1073334935143579648').addE('el3').from('1073334931741999104').to('1073334935143579648') g.V(1073334932090126336).as('1073334932090126336').V(1073334932425670656).as('1073334932425670656').addE('el0').from('1073334932090126336').to('1073334932425670656') g.V(1073334934342467584).as('1073334934342467584').V(1073334935143579648).as('1073334935143579648').addE('el3').from('1073334934342467584').to('1073334935143579648') g.V(1073334932207566848).as('1073334932207566848').V(1073334936674500608).as('1073334936674500608').addE('el3').from('1073334932207566848').to('1073334936674500608') g.V(1073334934921281536).as('1073334934921281536').V(1073334935143579648).as('1073334935143579648').addE('el1').from('1073334934921281536').to('1073334935143579648') g.V(1073334932207566848).as('1073334932207566848').V(1073334933776236544).as('1073334933776236544').addE('el3').from('1073334932207566848').to('1073334933776236544') g.V(1073334931741999104).as('1073334931741999104').V(1073334936900993024).as('1073334936900993024').addE('el2').from('1073334931741999104').to('1073334936900993024') g.V(1073334935911137280).as('1073334935911137280').V(1073334935143579648).as('1073334935143579648').addE('el1').from('1073334935911137280').to('1073334935143579648') g.V(1073334934229221376).as('1073334934229221376').V(1073334936787746816).as('1073334936787746816').addE('el2').from('1073334934229221376').to('1073334936787746816') g.V(1073334936452202496).as('1073334936452202496').V(1073334933776236544).as('1073334933776236544').addE('el3').from('1073334936452202496').to('1073334933776236544') g.V(1073334933998534656).as('1073334933998534656').V(1073334935802085376).as('1073334935802085376').addE('el3').from('1073334933998534656').to('1073334935802085376') g.V(1073334933331640320).as('1073334933331640320').V(1073334935802085376).as('1073334935802085376').addE('el1').from('1073334933331640320').to('1073334935802085376') g.V(1073334935374266368).as('1073334935374266368').V(1073334936900993024).as('1073334936900993024').addE('el2').from('1073334935374266368').to('1073334936900993024') g.V(1073334931741999104).as('1073334931741999104').V(1073334933222588416).as('1073334933222588416').addE('el2').from('1073334931741999104').to('1073334933222588416') g.V(1073334933662990336).as('1073334933662990336').V(1073334935143579648).as('1073334935143579648').addE('el1').from('1073334933662990336').to('1073334935143579648') g.V(1073334932534722560).as('1073334932534722560').V(1073334936674500608).as('1073334936674500608').addE('el3').from('1073334932534722560').to('1073334936674500608') g.V(1073334933662990336).as('1073334933662990336').V(1073334932090126336).as('1073334932090126336').addE('el1').from('1073334933662990336').to('1073334932090126336') g.V(1073334933331640320).as('1073334933331640320').V(1073334930303352832).as('1073334930303352832').addE('el1').from('1073334933331640320').to('1073334930303352832') g.V(1073334935596564480).as('1073334935596564480').V(1073334936238292992).as('1073334936238292992').addE('el2').from('1073334935596564480').to('1073334936238292992') g.V(1073334934111780864).as('1073334934111780864').V(1073334934703177728).as('1073334934703177728').addE('el0').from('1073334934111780864').to('1073334934703177728') g.V(1073334932752826368).as('1073334932752826368').V(1073334935034527744).as('1073334935034527744').addE('el2').from('1073334932752826368').to('1073334935034527744') g.V(1073334934229221376).as('1073334934229221376').V(1073334934451519488).as('1073334934451519488').addE('el2').from('1073334934229221376').to('1073334934451519488') g.V(1073334933440692224).as('1073334933440692224').V(1073334935143579648).as('1073334935143579648').addE('el3').from('1073334933440692224').to('1073334935143579648') g.V(1073334931964297216).as('1073334931964297216').V(1073334936674500608).as('1073334936674500608').addE('el1').from('1073334931964297216').to('1073334936674500608') g.V(1073334936452202496).as('1073334936452202496').V(1073334933331640320).as('1073334933331640320').addE('el2').from('1073334936452202496').to('1073334933331640320') g.V(1073334933662990336).as('1073334933662990336').V(1073334932866072576).as('1073334932866072576').addE('el1').from('1073334933662990336').to('1073334932866072576') g.V(1073334935143579648).as('1073334935143579648').V(1073334935487512576).as('1073334935487512576').addE('el0').from('1073334935143579648').to('1073334935487512576') g.V(1073334936452202496).as('1073334936452202496').V(1073334936900993024).as('1073334936900993024').addE('el2').from('1073334936452202496').to('1073334936900993024') g.V(1073334931741999104).as('1073334931741999104').V(1073334931964297216).as('1073334931964297216').addE('el2').from('1073334931741999104').to('1073334931964297216') g.V(1073334931741999104).as('1073334931741999104').V(1073334933549744128).as('1073334933549744128').addE('el3').from('1073334931741999104').to('1073334933549744128') g.V(1073334936787746816).as('1073334936787746816').V(1073334936674500608).as('1073334936674500608').addE('el1').from('1073334936787746816').to('1073334936674500608') g.V(1073334936452202496).as('1073334936452202496').V(1073334935802085376).as('1073334935802085376').addE('el3').from('1073334936452202496').to('1073334935802085376') g.V(1073334932090126336).as('1073334932090126336').V(1073334931855245312).as('1073334931855245312').addE('el0').from('1073334932090126336').to('1073334931855245312') g.V(1073334933998534656).as('1073334933998534656').V(1073334933662990336).as('1073334933662990336').addE('el2').from('1073334933998534656').to('1073334933662990336') g.V(1073334935802085376).as('1073334935802085376').V(1073334936343150592).as('1073334936343150592').addE('el0').from('1073334935802085376').to('1073334936343150592') g.V(1073334931741999104).as('1073334931741999104').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334931741999104').to('1073334932090126336') g.V(1073334933113536512).as('1073334933113536512').V(1073334933889482752).as('1073334933889482752').addE('el0').from('1073334933113536512').to('1073334933889482752') g.V(1073334936787746816).as('1073334936787746816').V(1073334932090126336).as('1073334932090126336').addE('el1').from('1073334936787746816').to('1073334932090126336') g.V(1073334932090126336).as('1073334932090126336').V(1073334929980391424).as('1073334929980391424').addE('el0').from('1073334932090126336').to('1073334929980391424') g.V(1073334935596564480).as('1073334935596564480').V(1073334933113536512).as('1073334933113536512').addE('el3').from('1073334935596564480').to('1073334933113536512') g.V(1073334936787746816).as('1073334936787746816').V(1073334935143579648).as('1073334935143579648').addE('el1').from('1073334936787746816').to('1073334935143579648') g.V(1073334936024383488).as('1073334936024383488').V(1073334933222588416).as('1073334933222588416').addE('el2').from('1073334936024383488').to('1073334933222588416') g.V(1073334935256825856).as('1073334935256825856').V(1073334936125046784).as('1073334936125046784').addE('el0').from('1073334935256825856').to('1073334936125046784') g.V(1073334936900993024).as('1073334936900993024').V(1073334933549744128).as('1073334933549744128').addE('el1').from('1073334936900993024').to('1073334933549744128') g.V(1073334933440692224).as('1073334933440692224').V(1073334935034527744).as('1073334935034527744').addE('el2').from('1073334933440692224').to('1073334935034527744') g.V(1073334936024383488).as('1073334936024383488').V(1073334934111780864).as('1073334934111780864').addE('el3').from('1073334936024383488').to('1073334934111780864') g.V(1073334936452202496).as('1073334936452202496').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334936452202496').to('1073334932090126336') g.V(1073334933776236544).as('1073334933776236544').V(1073334932316618752).as('1073334932316618752').addE('el0').from('1073334933776236544').to('1073334932316618752') g.V(1073334932207566848).as('1073334932207566848').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334932207566848').to('1073334932090126336') g.V(1073334935596564480).as('1073334935596564480').V(1073334931964297216).as('1073334931964297216').addE('el2').from('1073334935596564480').to('1073334931964297216') g.V(1073334931964297216).as('1073334931964297216').V(1073334933549744128).as('1073334933549744128').addE('el1').from('1073334931964297216').to('1073334933549744128') g.V(1073334932752826368).as('1073334932752826368').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334932752826368').to('1073334932090126336') g.V(1073334933662990336).as('1073334933662990336').V(1073334935802085376).as('1073334935802085376').addE('el1').from('1073334933662990336').to('1073334935802085376') g.V(1073334932534722560).as('1073334932534722560').V(1073334930303352832).as('1073334930303352832').addE('el3').from('1073334932534722560').to('1073334930303352832') g.V(1073334936787746816).as('1073334936787746816').V(1073334935256825856).as('1073334935256825856').addE('el1').from('1073334936787746816').to('1073334935256825856') g.V(1073334932534722560).as('1073334932534722560').V(1073334933222588416).as('1073334933222588416').addE('el2').from('1073334932534722560').to('1073334933222588416') g.V(1073334936238292992).as('1073334936238292992').V(1073334935256825856).as('1073334935256825856').addE('el1').from('1073334936238292992').to('1073334935256825856') g.V(1073334934921281536).as('1073334934921281536').V(1073334936674500608).as('1073334936674500608').addE('el1').from('1073334934921281536').to('1073334936674500608') g.V(1073334935374266368).as('1073334935374266368').V(1073334930303352832).as('1073334930303352832').addE('el3').from('1073334935374266368').to('1073334930303352832') g.V(1073334936024383488).as('1073334936024383488').V(1073334932090126336).as('1073334932090126336').addE('el3').from('1073334936024383488').to('1073334932090126336') ``` ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) ```javascript schema().propertyKey('vp0').asBoolean().ifNotExist().create(); schema().propertyKey('vp1').asDouble().ifNotExist().create(); schema().propertyKey('vp2').asFloat().ifNotExist().create(); schema().propertyKey('vp3').asFloat().ifNotExist().create(); schema().propertyKey('vp4').asInt().ifNotExist().create(); schema().propertyKey('vp5').asText().ifNotExist().create(); schema().vertexLabel('vl0').ifNotExist().create(); schema().vertexLabel('vl0').properties('vp1').nullableKeys('vp1').append(); schema().indexLabel('vl0byvp1Shard').onV('vl0').by('vp1').shard().ifNotExist().create(); schema().vertexLabel('vl0').properties('vp5').nullableKeys('vp5').append(); schema().indexLabel('vl0byvp5Shard').onV('vl0').by('vp5').shard().ifNotExist().create(); schema().vertexLabel('vl0').properties('vp3').nullableKeys('vp3').append(); schema().indexLabel('vl0byvp3Shard').onV('vl0').by('vp3').shard().ifNotExist().create(); schema().vertexLabel('vl0').properties('vp4').nullableKeys('vp4').append(); schema().indexLabel('vl0byvp4Shard').onV('vl0').by('vp4').shard().ifNotExist().create(); schema().vertexLabel('vl1').ifNotExist().create(); schema().vertexLabel('vl1').properties('vp5').nullableKeys('vp5').append(); schema().indexLabel('vl1byvp5Shard').onV('vl1').by('vp5').shard().ifNotExist().create(); schema().vertexLabel('vl1').properties('vp2').nullableKeys('vp2').append(); schema().indexLabel('vl1byvp2Shard').onV('vl1').by('vp2').shard().ifNotExist().create(); schema().vertexLabel('vl1').properties('vp1').nullableKeys('vp1').append(); schema().indexLabel('vl1byvp1Shard').onV('vl1').by('vp1').shard().ifNotExist().create(); schema().vertexLabel('vl1').properties('vp4').nullableKeys('vp4').append(); schema().indexLabel('vl1byvp4Shard').onV('vl1').by('vp4').shard().ifNotExist().create(); schema().vertexLabel('vl1').properties('vp0').nullableKeys('vp0').append(); schema().indexLabel('vl1byvp0Shard').onV('vl1').by('vp0').shard().ifNotExist().create(); schema().vertexLabel('vl1').properties('vp3').nullableKeys('vp3').append(); schema().indexLabel('vl1byvp3Shard').onV('vl1').by('vp3').shard().ifNotExist().create(); schema().vertexLabel('vl2').ifNotExist().create(); schema().vertexLabel('vl2').properties('vp4').nullableKeys('vp4').append(); schema().indexLabel('vl2byvp4Shard').onV('vl2').by('vp4').shard().ifNotExist().create(); schema().vertexLabel('vl3').ifNotExist().create(); schema().vertexLabel('vl3').properties('vp3').nullableKeys('vp3').append(); schema().indexLabel('vl3byvp3Shard').onV('vl3').by('vp3').shard().ifNotExist().create(); schema().propertyKey('ep0').asInt().ifNotExist().create(); schema().propertyKey('ep1').asDouble().ifNotExist().create(); schema().propertyKey('ep2').asInt().ifNotExist().create(); schema().propertyKey('ep3').asLong().ifNotExist().create(); schema().edgeLabel('el0').link('vl2', 'vl1').ifNotExist().create(); schema().edgeLabel('el0').properties('ep1').nullableKeys('ep1').append(); schema().indexLabel('el0byep1Shard').onE('el0').by('ep1').shard().ifNotExist().create(); schema().edgeLabel('el1').link('vl1', 'vl0').ifNotExist().create(); schema().edgeLabel('el1').properties('ep1').nullableKeys('ep1').append(); schema().indexLabel('el1byep1Shard').onE('el1').by('ep1').shard().ifNotExist().create(); schema().edgeLabel('el1').properties('ep2').nullableKeys('ep2').append(); schema().indexLabel('el1byep2Shard').onE('el1').by('ep2').shard().ifNotExist().create(); schema().edgeLabel('el2').link('vl0', 'vl3').ifNotExist().create(); schema().edgeLabel('el2').properties('ep3').nullableKeys('ep3').append(); schema().indexLabel('el2byep3Shard').onE('el2').by('ep3').shard().ifNotExist().create(); schema().edgeLabel('el2').properties('ep1').nullableKeys('ep1').append(); schema().indexLabel('el2byep1Shard').onE('el2').by('ep1').shard().ifNotExist().create(); schema().edgeLabel('el3').link('vl1', 'vl3').ifNotExist().create(); schema().edgeLabel('el3').properties('ep2').nullableKeys('ep2').append(); schema().indexLabel('el3byep2Shard').onE('el3').by('ep2').shard().ifNotExist().create(); ``` -- 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]
