Skip to content

Commit 1eb9a9b

Browse files
committed
Rename files
1 parent 1132ef5 commit 1eb9a9b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/iceberg/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ set(ICEBERG_SOURCES
2121
arrow_c_data_internal.cc
2222
catalog/in_memory_catalog.cc
2323
demo.cc
24-
datum.cc
2524
expression/expression.cc
2625
file_reader.cc
2726
json_internal.cc
27+
literal.cc
2828
manifest_entry.cc
2929
manifest_list.cc
3030
metadata_columns.cc

src/iceberg/datum.cc renamed to src/iceberg/literal.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
#include "iceberg/datum.h"
20+
#include "iceberg/literal.h"
2121

2222
#include <sstream>
2323

@@ -187,8 +187,8 @@ Result<PrimitiveLiteral> PrimitiveLiteral::CastFromDouble(TypeId target_type_id)
187187
return PrimitiveLiteral::Float(static_cast<float>(double_val));
188188
}
189189
default:
190-
return NotImplemented("Cast from Double to {} is not implemented",
191-
static_cast<int>(target_type_id));
190+
return NotSupported("Cast from Double to {} is not implemented",
191+
static_cast<int>(target_type_id));
192192
}
193193
}
194194

File renamed without changes.

0 commit comments

Comments
 (0)