sql: Move structured code to sql directory
I'm not sure we should do this. The separation doesn't hurt anything, and there's nothing SQL-specific in structured AFAIK.
well, that's not entirely true. descriptors are starting to have parser.* stuff in them, mostly for permissions. There will probably be more and more too.
That might be a reason to move permissions into sql.
well, there is very little in structured at the moment. Perhaps there is value to moving stuff from sql into structured. But, I think we should just kill it for now, and recreate it at a later time when we know we want to create a structured-API.
On Tue, Aug 4, 2015 at 10:37 AM Tamir Duberstein [email protected] wrote:
That might be a reason to move permissions into sql.
— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1917#issuecomment-127634681 .
While the separation between sql and structured doesn't particular hurt, it also isn't providing any benefit. I'm mildly in favor of this change for the simplification.
@MBerhault We talked about doing this move earlier this week. Care to take it on?
that's my next step, just waiting to merge that damn privilege thing.