-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database table 'user' conflicts with PostgreSQL function #1146
Comments
Wow, oops. That sucks. And I can't believe this wasn't identified earlier. Yes, we should likely rename this table SidewalkUser or something. Who's the SQL expert in group currently? @misaugstad @Manaswis @maddalihanumateja? |
Yes, this was known. However, we always wrote queries like However, I would say its low priority for immediate purposes. Since we are in the middle of data collection by turkers and (soon) volunteers, we should take this up after we are done with the collection of data we need for the paper. We should concentrate on things that are absolutely necessary for the paper. We could apply the NextCity tag to this issue. Thoughts? |
NextCity tag for sure. Agree that it's low priority as it isn't really negatively affecting anything. |
Possible future name for this table: |
Totally agree
…Sent from my iPhone
On Oct 16, 2017, at 3:21 PM, Manaswi Saha ***@***.***> wrote:
Yes, this was known. However, we always wrote queries like sidewalk.user to resolve the conflict. Renaming it isn't tough. However, we'd also have to go into the code to change all the raw queries to the new name and also change the name in the data model code. Again not difficult.
However, I would say its low priority for immediate purposes. Since we are in the middle of data collection by turkers and (soon) volunteers, we should take this up after we are done with the collection of data we need for the paper. We should concentrate on things that are absolutely necessary for the paper. We could apply the NextCity tag to this issue. Thoughts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
closing via #1329 |
The sidewalk database has a table named
user
. As discussed in this StackOverflow post,user
is a function keyword in PostgreSQL.We may want to consider renaming this table since its current name leads to confusing behavior.
The text was updated successfully, but these errors were encountered: