class HiveTableFileInputFormat extends FileInputFormat<RowData> {

	@VisibleForTesting
	static FileSplit toHadoopFileSplit(FileInputSplit fileSplit) throws IOException {
		URI uri = fileSplit.getPath().toUri();
		long length = fileSplit.getLength();
		// Hadoop FileSplit should not have -1 length.
		if (length == -1) {
			length = fileSplit.getPath().getFileSystem().getFileStatus(fileSplit.getPath()).getLen() -
					fileSplit.getStart();
		}
		return new FileSplit(new Path(uri), fileSplit.getStart(), length, (String[]) null);
	}

	public  HiveTableFileInputFormat(
			HiveTableInputFormat inputFormat,
			HiveTablePartition hiveTablePartition);

}