100.timeout.mql 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. MATCH
  2. (contract:/mingdao1/contract WHERE attr15 > 34500 and attr15 < 35500)
  3. -[:is_contract_of_project*1..1]->
  4. (project:/mingdao1/project WHERE attr3 is not null),
  5. (sales:/mingdao1/staff)
  6. -[:is_duty_sales_of_contract*1..1]->
  7. (contract:/mingdao1/contract WHERE attr15 > 34500 and attr15 < 35500),
  8. (pm:/mingdao1/staff)
  9. -[:is_admin_of_project*1..1]->
  10. (project:/mingdao1/project WHERE attr3 is not null)
  11. RETURN project.attr3 AS "项目名称", sales.attr1 AS "责任销售", pm.attr1 AS "项目经理名称"
  12. with timeout = 3m
  13. /**
  14. output()
  15. count(43)
  16. **/
  17. ;
  18. MATCH
  19. (company:/dsq_stock/public_company)-[:public_company_belongs_to_industry_stock_industry_category_lv3*1..1]->(category:/dsq_stock/stock_industry_category_lv3),
  20. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_price*1..1]->(stock_price:/dsq_stock/a_stock_price WHERE trade_date = '20250718'),
  21. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_financial_indicator*1..1]->
  22. (financial_indicator:/dsq_stock/a_stock_financial_indicator WHERE report_period = '20241231')
  23. /**
  24. timeout(10m)
  25. output()
  26. **/
  27. ;
  28. MATCH
  29. (company:/dsq_stock/public_company)-[:public_company_belongs_to_industry_stock_industry_category_lv3*1..1]->
  30. (category:/dsq_stock/stock_industry_category_lv3),
  31. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_price*1..1]->
  32. (stock_price:/dsq_stock/a_stock_price WHERE trade_date = '20250718'),
  33. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_financial_indicator*1..1]->
  34. (financial_indicator:/dsq_stock/a_stock_financial_indicator WHERE report_period = '20241231')
  35. RETURN company.symbol AS "symbol", stock_price.total_mv AS "total_mv", stock_price.dividend_yield AS "dividend_yield", financial_indicator.net_profit AS "net_profit"
  36. WITH TIMEOUT = 60m
  37. /**
  38. output()
  39. count(12715437)
  40. **/
  41. ;
  42. SELECT room.room_number AS "room_number",
  43. room.usable_area AS "usable_area",
  44. room.office_staff_count AS "office_staff_count"
  45. INTO /temp_room_area_e2f601d7-ae1e-4576-bca9-289ab32024aa
  46. FROM /hxyy/room room
  47. WHERE room.allocated_area > 0 AND room.excess_area > 0 AND room.office_staff_count > 0
  48. LIMIT 0, 500000
  49. WITH TIMEOUT = 6m
  50. ;
  51. select * from /temp_room_area_e2f601d7-ae1e-4576-bca9-289ab32024aa
  52. /**
  53. output()
  54. **/
  55. ;
  56. MATCH (player_attr:'Player_Attributes:00013795','Player_Attributes:00013796','Player_Attributes:00013797')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:'Player:*')
  57. RETURN player_attr.long_shots AS "long_shots", player_attr.id, player.id, player.player_name
  58. with inline
  59. /**
  60. timeout(5m)
  61. output()
  62. metainfo()
  63. sleep(10s)
  64. **/;
  65. MATCH (player_attr:'Player_Attributes:*379?')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  66. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  67. /**
  68. timeout(5m)
  69. output()
  70. metainfo()
  71. sleep(10s)
  72. **/;
  73. MATCH (player_attr:Player_Attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  74. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  75. with timeout=10s
  76. /**
  77. onerror(continue,"timeout 10s","context canceled")
  78. output()
  79. metainfo()
  80. **/;
  81. MATCH (player_attr:'*')-[]->(player:"*")
  82. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  83. /**
  84. onerror(continue,"need more search conditions", "unsure namespace")
  85. output()
  86. metainfo()
  87. **/;
  88. MATCH (player_attr:'*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:"*")
  89. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  90. /**
  91. onerror(continue,"not exist","too more")
  92. output()
  93. metainfo()
  94. **/;
  95. MATCH (player_attr:'*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  96. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  97. with timeout=5m
  98. /**
  99. timeout(5m)
  100. onerror(continue,"too more")
  101. output()
  102. metainfo()
  103. **/;
  104. MATCH (player_attr:'*379*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  105. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  106. /**
  107. timeout(5m)
  108. output()
  109. metainfo()
  110. **/;
  111. MATCH (player_attr:'*butes:*379*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  112. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  113. /**
  114. timeout(5m)
  115. output()
  116. metainfo()
  117. **/;
  118. MATCH (player_attr:'Player_Attributes:*379?')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  119. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  120. /**
  121. timeout(5m)
  122. output()
  123. metainfo()
  124. **/;
  125. MATCH (player_attr:Player_Attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  126. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  127. /**
  128. timeout(5m)
  129. output()
  130. metainfo()
  131. **/;
  132. MATCH (player_attr:/birddata/player_attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  133. RETURN player_attr.long_shots AS "long_shots"
  134. /**
  135. timeout(5m)
  136. output()
  137. metainfo()
  138. **/;
  139. MATCH (player_attr:/birddata/player_attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  140. RETURN player_attr.long_shots AS "long_shots" INTO /qqq0
  141. /**
  142. timeout(5m)
  143. output()
  144. metainfo()
  145. **/;
  146. select * from /qqq0
  147. /**
  148. output()
  149. **/;
  150. SELECT avg(t0.long_shots) AS "average_long_shots" FROM /qqq0 t0 LIMIT 0, 20000
  151. /**
  152. output()
  153. **/;