Skip to content

Commit

Permalink
chore(from_unixtime): remove UDF from_unixtime (#1179)
Browse files Browse the repository at this point in the history
* chore(from_unixtime): remove UDF from_unixtime

* chore(from_unixtime): restore timestamp.rs for further usage

* chore(from_unixtime): address fmt issue
  • Loading branch information
etolbakov authored Mar 15, 2023
1 parent 76f1a79 commit b530ac9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 141 deletions.
9 changes: 1 addition & 8 deletions src/common/function/src/scalars/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use std::sync::Arc;
mod from_unixtime;

use from_unixtime::FromUnixtimeFunction;

use crate::scalars::function_registry::FunctionRegistry;

pub(crate) struct TimestampFunction;

impl TimestampFunction {
pub fn register(registry: &FunctionRegistry) {
registry.register(Arc::new(FromUnixtimeFunction::default()));
}
pub fn register(_registry: &FunctionRegistry) {}
}
133 changes: 0 additions & 133 deletions src/common/function/src/scalars/timestamp/from_unixtime.rs

This file was deleted.

0 comments on commit b530ac9

Please sign in to comment.