Revert "check if using TableInputFormat"

This reverts commit 9e8a7f0c6a95a446600098f5a63b6952f0ce35e7.
reseting head