abdullah alamoudi has posted comments on this change.

Change subject: ASTERIXDB-1360 Fix Error Message for Unknown Format
......................................................................


Patch Set 8:

(2 comments)

Hi Till,
I created Jira issues for these and I agree that we should address them in a 
subsequent change.

https://asterix-gerrit.ics.uci.edu/#/c/767/8/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/twitter/TwitterRecordReaderFactory.java
File 
asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/twitter/TwitterRecordReaderFactory.java:

Line 105:                 || 
reader.equals(ExternalDataConstants.READER_PULL_TWITTER)) {
> Is there a difference between these 2 constants?
Yes. one of them is pull_twitter, the other one is twitter_pull.
Not sure why/how it reached this stage. probably we should only keep one!


https://asterix-gerrit.ics.uci.edu/#/c/767/8/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataConstants.java
File 
asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataConstants.java:

Line 127:     public static final String READER_PULL_TWITTER = "pull_twitter";
> Why are these "_" separated while the other ones are "-" separated? 
unfortunately, I always prefer the -. However, I just noticed that in our 
documentation, we use _. hence, I had to change them to _


-- 
To view, visit https://asterix-gerrit.ics.uci.edu/767
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib4aac833e30bd7c5a7706f5c8116383c2362c964
Gerrit-PatchSet: 8
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>
Gerrit-Reviewer: abdullah alamoudi <[email protected]>
Gerrit-HasComments: Yes

Reply via email to