You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
explain format = 'dot'
MATCH (message:Message)
WHERE message.Message.creationDate < "20110721220000000"
WITH count(message) AS totalMessageCountInt
WITH toFloat(totalMessageCountInt) AS totalMessageCount
MATCH (message:Message)
WHERE message.Message.creationDate < "20110721220000000"
AND message.Message.content IS NOT NULL
WITH
totalMessageCount,
message,
toInteger(message.Message.creationDate)/10000000000000 AS year
WITH
totalMessageCount,
year,
"Comment" IN tags(message) AS isComment,
CASE
WHEN message.Message.length < 40 THEN 0
WHEN message.Message.length < 80 THEN 1
WHEN message.Message.length < 160 THEN 2
ELSE 3
END AS lengthCategory,
count(message) AS messageCount,
floor(avg(message.Message.length)) AS averageMessageLength,
sum(message.Message.length) AS sumMessageLength
RETURN
year,
isComment,
lengthCategory,
messageCount,
averageMessageLength,
sumMessageLength,
messageCount / totalMessageCount AS percentageOfMessages
ORDER BY
year DESC,
isComment ASC,
lengthCategory ASC
As above, Project_7 and Project_11 could be eliminated.
Related work
The text was updated successfully, but these errors were encountered:
Introduction
Subjob of #4122
Contents
e.g.
As above,
Project_7
andProject_11
could be eliminated.Related work
The text was updated successfully, but these errors were encountered: