Skip to content

Commit 6fc5611

Browse files
committed
chore: format code
1 parent 2aa061e commit 6fc5611

File tree

11 files changed

+9
-62
lines changed

11 files changed

+9
-62
lines changed

programs/local/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ if (USE_PYTHON)
1717
PythonTableCache.cpp
1818
PythonImportCache.cpp
1919
PythonImporter.cpp
20-
PythonObjects.cpp
2120
PythonSource.cpp
2221
PythonUtils.cpp
2322
StoragePython.cpp

programs/local/ListScan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include "ListScan.h"
2-
#include "DataTypes/IDataType.h"
3-
#include "IO/WriteHelpers.h"
42
#include "PythonConversion.h"
53

64
#include <Columns/ColumnObject.h>
5+
#include <DataTypes/IDataType.h>
76
#include <DataTypes/Serializations/SerializationJSON.h>
7+
#include <IO/WriteHelpers.h>
88

99
namespace DB
1010
{

programs/local/NumpyType.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
#pragma once
22

3-
#include <cstdint>
4-
#include <pybind11/pytypes.h>
3+
#include "PybindWrapper.h"
54

5+
#include <cstdint>
66
#include <DataTypes/IDataType.h>
77

8-
namespace py = pybind11;
9-
108
namespace CHDB {
119

1210
enum class NumpyNullableType : uint8_t {

programs/local/PandasAnalyzer.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#include "PandasAnalyzer.h"
2-
#include "DataTypes/DataTypeObject.h"
3-
#include "DataTypes/DataTypeString.h"
42
#include "PythonConversion.h"
53
#include "PythonImporter.h"
64

75
#include <Common/Exception.h>
86
#include <DataTypes/DataTypesNumber.h>
9-
#include <cstddef>
10-
#include <memory>
7+
#include <DataTypes/DataTypeObject.h>
8+
#include <DataTypes/DataTypeString.h>
119

1210
namespace DB
1311
{

programs/local/PandasAnalyzer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "NumpyType.h"
44
#include "PybindWrapper.h"
5-
#include "PythonObjects.h"
65

76
#include <DataTypes/IDataType.h>
87
#include <Core/Settings.h>

programs/local/PandasScan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include "PandasScan.h"
2-
#include "DataTypes/IDataType.h"
3-
#include "IO/WriteHelpers.h"
42
#include "PythonConversion.h"
53

64
#include <Columns/ColumnObject.h>
5+
#include <DataTypes/IDataType.h>
76
#include <DataTypes/Serializations/SerializationJSON.h>
7+
#include <IO/WriteHelpers.h>
88

99
namespace DB
1010
{

programs/local/PybindWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "PybindWrapper.h"
22

3-
#include "Common/Exception.h"
3+
#include <Common/Exception.h>
44

55
using namespace DB;
66

programs/local/PythonDict.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "PythonDict.h"
22
#include "FormatHelper.h"
3-
#include "PythonObjects.h"
43
#include "StoragePython.h"
54

65
#include <Interpreters/Context.h>
@@ -21,7 +20,6 @@ namespace CHDB {
2120

2221
ColumnsDescription PythonDict::getActualTableStructure(const py::object & object, ContextPtr & context)
2322
{
24-
// auto dict = PyDictionary(py::reinterpret_borrow<py::object>(object));
2523
std::vector<std::pair<std::string, std::string>> schema;
2624

2725
for (auto item : object.cast<py::dict>())

programs/local/PythonImporter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "PythonImporter.h"
2-
32
#include "PythonImportCacheItem.h"
43

54
namespace CHDB {

programs/local/PythonObjects.cpp

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)