Skip to content

Commit

Permalink
logging location of the file being read zinggAI#83
Browse files Browse the repository at this point in the history
  • Loading branch information
navinrathore committed Dec 29, 2021
1 parent 614349f commit 6d0fbd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/zingg/util/PipeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ private static DataFrameReader getReader(SparkSession spark, Pipe p) {
private static Dataset<Row> read(DataFrameReader reader, Pipe p, boolean addSource) {
Dataset<Row> input = null;
if (p.getProps().containsKey(FilePipe.LOCATION)) {
LOG.warn("Reading location: " + p.get(FilePipe.LOCATION));
input = reader.load(p.get(FilePipe.LOCATION));
}
else {
Expand Down

0 comments on commit 6d0fbd9

Please sign in to comment.