phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JamesRTaylor <>
Subject [GitHub] phoenix pull request #239: PHOENIX-3744: Support snapshot scanners for MR-ba...
Date Wed, 24 May 2017 17:25:19 GMT
Github user JamesRTaylor commented on a diff in the pull request:
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/util/
    @@ -192,6 +196,18 @@ public static void setOutputTableName(final Configuration configuration,
final S
         public static void setUpsertColumnNames(final Configuration configuration,final String[]
columns) {
    +    public static void setSnapshotNameKey(final Configuration configuration, final String
snapshotName) {
    +        Preconditions.checkNotNull(configuration);
    +        Preconditions.checkNotNull(snapshotName);
    +        configuration.set(SNAPSHOT_NAME_KEY, snapshotName);
    --- End diff --
    The idea of having the snapshot name in the configuration is not going to translate well
when we want to expose snapshot reads for queries in general as the configuration is a global

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message