Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/476#discussion_r27446574
--- Diff:
tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/StorageManager.java
---
@@ -538,7 +538,8 @@ public Appender getAppender(OverridableConf
queryContext,
if (scannerClass == null) {
scannerClass = conf.getClass(
String.format("tajo.storage.scanner-handler.%s.class",
handlerName), null, Scanner.class);
- SCANNER_HANDLER_CACHE.put(handlerName, scannerClass);
+ if (scannerClass != null)
--- End diff --
Hi @dongjoon-hyun
Thank you for your detailed comments.
I just leaved the comment because I couldn't create new table without
reference to the IF statement as following:
```
default> create table test1 (id int) using orc;
ERROR: Store format orc is not supported.
```
Anyway, I can't reproduce the NPE now because of above situation. I think
that it may be related to other source codes. If possible, could you check it
again?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---