Skip to content

Commit

Permalink
gdal_calc python target?
Browse files Browse the repository at this point in the history
  • Loading branch information
sllynn committed Nov 29, 2024
1 parent ad11ba1 commit 43618bf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/mosaic/api/accessors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyspark.sql import Column
from pyspark.sql.functions import _to_java_column as pyspark_to_java_column
from pyspark.sql.column import _to_java_column as pyspark_to_java_column

from mosaic.config import config
from mosaic.utils.types import ColumnOrName
Expand Down
2 changes: 1 addition & 1 deletion python/mosaic/api/aggregators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyspark.sql import Column
from pyspark.sql.functions import _to_java_column as pyspark_to_java_column
from pyspark.sql.column import _to_java_column as pyspark_to_java_column

from mosaic.config import config
from mosaic.utils.types import ColumnOrName
Expand Down
2 changes: 1 addition & 1 deletion python/mosaic/api/constructors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyspark.sql import Column
from pyspark.sql.functions import _to_java_column as pyspark_to_java_column
from pyspark.sql.column import _to_java_column as pyspark_to_java_column

from mosaic.config import config
from mosaic.utils.types import ColumnOrName
Expand Down
2 changes: 1 addition & 1 deletion python/mosaic/api/predicates.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyspark.sql import Column
from pyspark.sql.functions import _to_java_column as pyspark_to_java_column
from pyspark.sql.column import _to_java_column as pyspark_to_java_column

from mosaic.config import config
from mosaic.utils.types import ColumnOrName
Expand Down
2 changes: 1 addition & 1 deletion python/mosaic/api/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Any

from pyspark.sql import Column
from pyspark.sql.functions import _to_java_column as pyspark_to_java_column
from pyspark.sql.column import _to_java_column as pyspark_to_java_column
from pyspark.sql.functions import lit

from mosaic.config import config
Expand Down
3 changes: 2 additions & 1 deletion python/test/test_mosaic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pyspark.sql.functions import _to_java_column, col
from pyspark.sql.functions import col
from pyspark.sql.column import _to_java_column

from .context import MosaicContext, MosaicLibraryHandler
from .utils import SparkTestCase
Expand Down

0 comments on commit 43618bf

Please sign in to comment.