[ 
https://issues.apache.org/jira/browse/GOBBLIN-1304?focusedWorklogId=508558&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-508558
 ]

ASF GitHub Bot logged work on GOBBLIN-1304:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Nov/20 18:22
            Start Date: 06/Nov/20 18:22
    Worklog Time Spent: 10m 
      Work Description: Will-Lo commented on a change in pull request #3142:
URL: https://github.com/apache/incubator-gobblin/pull/3142#discussion_r518926214



##########
File path: 
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/spec_store/MysqlSpecStore.java
##########
@@ -83,8 +83,8 @@
           + "spec LONGBLOB, " + NEW_COLUMN + " JSON, PRIMARY KEY (spec_uri))";
   private static final String EXISTS_STATEMENT = "SELECT EXISTS(SELECT * FROM 
%s WHERE spec_uri = ?)";
   protected static final String INSERT_STATEMENT = "INSERT INTO %s (spec_uri, 
flow_group, flow_name, template_uri, "
-      + "user_to_proxy, source_identifier, destination_identifier, schedule, 
tag, isRunImmediately, spec, " + NEW_COLUMN + ") "
-      + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE 
spec = VALUES(spec), " + NEW_COLUMN + " = VALUES(" + NEW_COLUMN + ")";
+      + "user_to_proxy, source_identifier, destination_identifier, schedule, 
tag, isRunImmediately, owning_group, spec, " + NEW_COLUMN + ") "

Review comment:
       Would we introduce backwards incompatible changes with that? The field 
was already initialized in sql tables as `owning_group` a few months back, so I 
stuck with that. Otherwise we would need to possibly rename the column names of 
existing flowspec stores stored in mysql.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 508558)
    Time Spent: 2h 10m  (was: 2h)

> Group Ownership Service
> -----------------------
>
>                 Key: GOBBLIN-1304
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1304
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-service
>            Reporter: William Lo
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Add an option for users to specify owning_groups, so that other requesters 
> within the same group can modify and delete flows.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to