« first day (655 days earlier)
← previous day
next day →
last day (1453 days later) »
Martin
8:00 AM
in REHAB on The Stack Exchange Network Chat,
18 mins ago
, by
Alexander Gruber
@MartinSleziak do you know if there is an easy way to find questions which have been closed as a duplicate of some question?
I was asked about this in another room.
I have suggested to use the list of
linked questions
as a quick way to find some
approximation
of the list of duplicates.
I have also tried some queries using the PostLinks table:
Duplicates of the given post
,
Duplicates of the given post (only not deleted)
and ...
...
Duplicates of the given post (only deleted)
If somebody has some time to look at them and have some suggestions for improvements or for other ways to do that, let me know.
3 hours later…
Martin
11:09 AM
>
CloseAsOffTopicReasonTypeId
, *if
CloseReasonTypeId = 102 (off-topic)
(listed in the
CloseAsOffTopicReasonTypes
table).
Several places in "
Database schema documentation for the public data dump and SEDE
" link to this query:
Show all types
However, from that query I get the error: "Invalid column name 'MarkdownMini'."
4 hours later…
rene
3:30 PM
@Martin Hmm, we need Gilles to fix that
I'm sure I have chatted about that query earlier
Okay I found the old room.
trying to get it unfrozen
rene
4:07 PM
that part has succeeded:
chat.stackexchange.com/transcript/message/54367436#54367436
2 hours later…
Martin
6:16 PM
Are there actually that many posts which link to this query?
Posts on
Meta Stack Exchange
:
search for url:"
data*36599
"
Comments on
Meta Stack Exchange
containing 36599
.
rene
Okay, maybe I'm trying to hard to not step on people toes ...
that query is 18 times favorites.
Martin
6:38 PM
Well, you'll see whether Gilles responds.
If the correction can be done without having to correct link in all places, it is definitely better.
Especially, it is not easy to edit links in comments.
I always forget that when I am using Stack Exchange search, I can actually search
over all sites
.
For comments it would be more difficult for me - I have no experience with multisite queries in SEDE.
rene
6:52 PM
Comments might be tricky to do networkwide. that are many, many rows.Way more then posts
rene
7:08 PM
@Martin I have not much to add but had some fun with using the Posthistory table to get that same data:
data.stackexchange.com/math/query/1238008
rene
7:20 PM
@Martin he did, solved!
Martin
Indeed, the "Show all types" query now works.
Thanks for looking at the duplicate targets. The fact that in PostHistory several ids are in one JSON string is the reason why I was trying that with using the PostLinks table.
rene
7:35 PM
Yeah, I think there is no real benefit for using the posthistory for this case, unless you also want to know the close voters.
PostLinks is a much better venue for that
« first day (655 days earlier)
← previous day
next day →
last day (1453 days later) »
all rooms
Transcript for
May
12
May '20
13
May
16
Data Explorer (SEDE)
For discussions related to SEDE queries and anything related t...
data-explorer
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile