Skip to content

Commit 88224fa

Browse files
committed
try to fix build issue again
1 parent 53eb8cc commit 88224fa

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/Storages/ObjectStorage/DataLakes/IDataLakeMetadata.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818

1919
#include <Storages/ObjectStorage/DataLakes/Iceberg/SchemaProcessor.h>
2020

21+
#if USE_AVRO
22+
#include <Storages/ObjectStorage/DataLakes/Iceberg/ManifestFile.h>
23+
#else
24+
namespace Iceberg
25+
{
26+
struct ColumnInfo;
27+
}
28+
#endif
2129

2230
namespace DataLake
2331
{
@@ -30,12 +38,7 @@ namespace DB
3038
namespace ErrorCodes
3139
{
3240
extern const int UNSUPPORTED_METHOD;
33-
};
34-
35-
namespace Iceberg
36-
{
37-
struct ColumnInfo;
38-
};
41+
};;
3942

4043
class DataFileMetaInfo
4144
{

0 commit comments

Comments
 (0)